On 25/04/2016 19:37, Stanislav Malyshev wrote:
Hi!

@attr() - is a valid "silenced" call to function named "attr".
This syntax can't be reused.
Not valid if it's in the middle of class definition, and not valid in
form of:

@attr() function foo() { ... }

This is not a valid PHP syntax now. So I'm not sure why it can't be
used. << is an operator too and so is >> .


No, but this is valid:

@atrr(); function foo() { ... }

That's perhaps a little too close for comfort...?

Regards,

--
Rowan Collins
[IMSoP]


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

Reply via email to