It will make "attribute" a reserved keyword, which caused more BC break 
comparing to Attribute class.

Regards,
CHU Zhaowei

-----Original Message-----
From: Aleksander Machniak <a...@alec.pl> 
Sent: Sunday, May 3, 2020 1:38 AM
To: internals@lists.php.net
Subject: Re: [PHP-DEV] Renaming PhpAttribute to Attribute

On 02.05.2020 18:02, Benas IML wrote:

> From my standpoint, I don't really believe we can remove it. As 
> without it, any class would be considered as an attribute - even one 
> that isn't supposed to be.

I don't remember if it was considered, but... why not define attributes with 
"class attribute", "attribute class" or just "attribute"? Then PhpAttribute 
would not be needed.


--
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

 

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

Reply via email to