On Tue, 4 Aug 2020, Levi Morrison wrote:

> > I agree with Theodore's points, including that this is metadata on a 
> > declaration, not a declaration itself.
> 
> Is this technically true? I haven't peeked at the grammar. I suspect
> it is a declaration and not an optional piece of data on a
> declaration, like say `public`.

IMO this is irrelevant anyway. An attribute isn't just a keyword like 
public, or int. It is *only* an attribute **because** it preceded by a 
specific token; this makes it not just a declaration.

cheers,
Derick

-- 
PHP 7.4 Release Manager
Host of PHP Internals News: https://phpinternals.news
Like Xdebug? Consider supporting me: https://xdebug.org/support
https://derickrethans.nl | https://xdebug.org | https://dram.io
twitter: @derickr and @xdebug

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to