On 09.03.2020 15:42, Benjamin Eberlei wrote:
> The RFC is at https://wiki.php.net/rfc/attributes_v2

Would it make sense to support this:

<<WithoutArgument>>
<<SingleArgument(0)>>
<<FewArguments('Hello', 'World')>>
function foo() {}

in this form:

<<
    WithoutArgument; // comments allowed here
    SingleArgument(0);
    FewArguments('Hello', 'World');
>>
function foo() {}

or if there's not many attributes, in the same line:

<<WithoutArgument; SingleArgument(0)>>

It may look better for the short version, but I'm not so sure about the
long version.

-- 
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: http://www.php.net/unsub.php

Reply via email to