RE: [PHP-DEV] Renaming PhpAttribute to Attribute

From: Date: Sat, 02 May 2020 18:19:51 +0000
Subject: RE: [PHP-DEV] Renaming PhpAttribute to Attribute
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-109971@lists.php.net to get a copy of this message
It will make "attribute" a reserved keyword, which caused more BC break comparing to Attribute class. Regards, CHU Zhaowei -----Original Message----- From: Aleksander Machniak <alec@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

« previous php.internals (#109971) next »