Re: [RFC] PHP Attributes

From: Date: Sun, 24 Apr 2016 19:40:58 +0000
Subject: Re: [RFC] PHP Attributes
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-92700@lists.php.net to get a copy of this message
On 4/24/2016 6:57 PM, Levi Morrison wrote: > Genuine question[1]: how is @attr() different than > <<attr()>>? Also, > isn't @attr() 100% valid user-land code today that can > precede > function or constant declarations? > > [1] I don't like that I have to make that explicit but it is what it is. > ROFL, that is actually totally true and I never thought about it. Damn silencing operator! :P However, i still think that the brackets are unnecessary and make it look like function calls. <<annotation values>> function f() {} -- Richard "Fleshgrinder" Fussenegger

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.internals (#92700) next »