Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109971 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 59646 invoked from network); 2 May 2020 19:45:47 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 2 May 2020 19:45:47 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 54DE71804DD for ; Sat, 2 May 2020 11:20:02 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FROM_EXCESS_BASE64, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS16509 18.194.0.0/15 X-Spam-Virus: No X-Envelope-From: Received: from smtpbgeu2.qq.com (smtpbgeu2.qq.com [18.194.254.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sat, 2 May 2020 11:20:01 -0700 (PDT) X-QQ-mid:Yeas4t1588443592t694t13362 Received: from 4B562073492C4058817F84E016DE3445 (me@jhdxr.com [116.14.113.108]) X-QQ-SSF:00100000000000F0FG1000000000000 To: "'Aleksander Machniak'" , References: In-Reply-To: Date: Sun, 3 May 2020 02:19:51 +0800 Message-ID: <000e01d620ae$45930670$d0b91350$@jhdxr.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQGB51MlQcAZfBiVUz22U5DaXs1ZEgKcuMMIAnM628gB/MOUXqkFJ9rA Content-Language: zh-cn X-QQ-SENDSIZE: 520 Feedback-ID: Yeas:jhdxr.com:qybgforeign:qybgforeign6 X-QQ-Bgrelay: 1 Subject: RE: [PHP-DEV] Renaming PhpAttribute to Attribute From: me@jhdxr.com (=?utf-8?b?Q0hVIFpoYW93ZWk=?=) It will make "attribute" a reserved keyword, which caused more BC break = comparing to Attribute class. Regards, CHU Zhaowei -----Original Message----- From: Aleksander Machniak =20 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=20 > without it, any class would be considered as an attribute - even one=20 > 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 =20