Re: [RFC] [VOTE] Shorter Attribute Syntax
| From: | Theodore Brown | Date: | Thu, 18 Jun 2020 14:59:18 +0000 |
| Subject: | Re: [RFC] [VOTE] Shorter Attribute Syntax | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-110661@lists.php.net to get a copy of this message | ||
On Thu, June 18, 2020 at 7:40 AM Aleksander Machniak <alec@alec.pl> wrote:
> If @@ wins, will a sequence of 3-or-more @ characters forbidden?
> It is not stated in the RFC. I.e. what happens if you write:
>
> @@@ExampleAttribute()
> class Foo
> {
> }
>
> @@@some_function();
Hi Aleksander,
Yes, those examples would be syntax errors if the
@@ proposal is
accepted.
Regards,
Theodore
________________________________________
From: Aleksander Machniak <alec@alec.pl>
Sent: Thursday, June 18, 2020 7:40 AM
To: internals@lists.php.net
Subject: Re: [PHP-DEV] [RFC] [VOTE] Shorter Attribute Syntax
On 18.06.2020 01:59, Theodore Brown wrote:
> Hi internals,
>
> I've opened voting on the Shorter Attribute Syntax RFC:
> https://wiki.php.net/rfc/shorter_attribute_syntax
If @@ wins, will a sequence of 3-or-more @ characters forbidden? It is
not stated in the RFC. I.e. what happens if you write:
@@@ExampleAttribute()
class Foo
{
}
@@@some_function();
--
Aleksander Machniak
Kolab Groupware Developer [https://kolab.org]
Roundcube Webmail Developer [https://roundcube.net]
----------------------------------------------------
PGP: 19359DC1 # Blog: https://kolabian.wordpress.com
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php