amitmerchant1990 / amitmerchant-dot-com-comments

1 stars 0 forks source link

how-to-use-php-80-attributes/ #44

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

How to use Attributes and their real-world usage in PHP 8.0 — Amit Merchant — A blog on PHP, JavaScript, and more

Of many great new features that PHP 8 has introduced, one of the most confusing that I found were called “Attributes”, until today. Attributes in PHP 8 got revised many times before gets settled to the current implementation that we will see in a bit.

https://www.amitmerchant.com/how-to-use-php-80-attributes/

bryceandy commented 2 years ago

Can we use attributes to declare @param, @return etc...? Inste