Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92981 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12072 invoked from network); 30 Apr 2016 11:44:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Apr 2016 11:44:48 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@fleshgrinder.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=php@fleshgrinder.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fleshgrinder.com from 77.244.243.82 cause and error) X-PHP-List-Original-Sender: php@fleshgrinder.com X-Host-Fingerprint: 77.244.243.82 mx101.easyname.com Received: from [77.244.243.82] ([77.244.243.82:39111] helo=mx205.easyname.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 59/E7-58459-EAA94275 for ; Sat, 30 Apr 2016 07:44:47 -0400 Received: from cable-81-173-133-226.netcologne.de ([81.173.133.226] helo=[192.168.178.20]) by mx.easyname.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1awTKF-0004Lf-Ki; Sat, 30 Apr 2016 11:44:43 +0000 Reply-To: internals@lists.php.net References: <571B94C1.1070307@fleshgrinder.com> <571DD5DF.9090906@zend.com> To: Dmitry Stogov , internals@lists.php.net Message-ID: <57249A98.1060708@fleshgrinder.com> Date: Sat, 30 Apr 2016 13:44:24 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <571DD5DF.9090906@zend.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="PVQ1VQOIBiG6ojVrCwH8VbdVMmmEcj1h4" X-ACL-Warn: X-DNSBL-BARRACUDACENTRAL Subject: Re: [PHP-DEV] [RFC] PHP Attributes From: php@fleshgrinder.com (Fleshgrinder) --PVQ1VQOIBiG6ojVrCwH8VbdVMmmEcj1h4 Content-Type: multipart/mixed; boundary="NqEnIOO4IDC9Qig4S8UR82x0cK5aSG5Mf" From: Fleshgrinder Reply-To: internals@lists.php.net To: Dmitry Stogov , internals@lists.php.net Message-ID: <57249A98.1060708@fleshgrinder.com> Subject: Re: [PHP-DEV] [RFC] PHP Attributes References: <571B94C1.1070307@fleshgrinder.com> <571DD5DF.9090906@zend.com> In-Reply-To: <571DD5DF.9090906@zend.com> --NqEnIOO4IDC9Qig4S8UR82x0cK5aSG5Mf Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 4/25/2016 10:31 AM, Dmitry Stogov wrote: > completely disagree. > Each value in multi-value attribute may have its own meaning. e.g. > <> >=20 That is a different example but I think that I misinterpreted it anyways.= <> function foo() {} I thought that the above would result in the following: reflect foo =3D> [ test =3D> 1 test =3D> 2 ] But I think in reality it results int: reflect foo =3D> [ test =3D> [ 1, 2 ] ] In case the latter is true, than everything is fine. :) On 4/25/2016 10:31 AM, Dmitry Stogov wrote: > You should try to implement this syntax to understand the problem. > It leads to parse conflicts. >=20 The inclusion of the semicolon definitely does, yes. Usage of the @ should not but Stanislav already offered to jump in. I am not fit enough yet with the php-src to take up such a big challenge. On 4/25/2016 10:31 AM, Dmitry Stogov wrote: > This RFC is not going to propose coding standards. >=20 Only talking about a standard for internal attributes, userland can and should do whatever they want. But we need to ensure consistency for internal attributes and that userland is not going to collide with internal ones. Currently the RFC does not include any attributes but many examples that others might use to deduce a coding standard and later we add internal attributes and things go south. --=20 Richard "Fleshgrinder" Fussenegger --NqEnIOO4IDC9Qig4S8UR82x0cK5aSG5Mf-- --PVQ1VQOIBiG6ojVrCwH8VbdVMmmEcj1h4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXJJqcAAoJEOKkKcqFPVVrynMP/R1/VpbHpY9elSZ5OtwrJZpn IlrbsZYMAWRvwFVBi5T3dHgpuVNbES6FtfXfDerpJJewRX643jLgmSX+4dGIhefK bSfgzcrtNpXLh4oLCanIZDeQtQHUqxl95iPd5gQvMLzu/VLpnWNktfH+N5IRQCrl 2OFnAW5HxzXoTdl9JgBEWuCBl1sXbE3opNK8rYas07MmcQLyeFfP79W0sePz6iKl zT29h4fS9jQyP7RQpoBr4C/o20k/TsLHc7vxLmVZN5CHvCb5DiMPdbMuq3Ev/pAC +o3UvmCau7Eh/MBIic4wk7jC9ujtK/1nC2An281celH0WGJHzDU/d5YdmwfCK9cc hNkg6v0HEUwk2TnfwVVeLpps2qAFgR6eKV6m5iEeI81hizWwgxpZIJbokcMy4l1K snm0SVoB7cEunv7pEcGItsMxd8JfSuaw4TAtWRfSjK7XfotYHg7UWbJXpgt6gNft 1FMPRoLMKOCrWWLolASokK+IZmDJe5e+tczzJZAs3Ve9AURQIQ1iz5XDOvXW0cz/ rJyGglXk5g58PDh6SV38RKEw3F01CPiDMXvZrYojRWiFF5vLIw7tRgAFHkKar6z7 VLWt1R7IKM/lFmT43CcM4yW2ADNwcf/203HxMPgFLD/RORy2vhDhzTMCMpVsTJdn zSFt5ZUl/wzj/tMBkgCG =4PNp -----END PGP SIGNATURE----- --PVQ1VQOIBiG6ojVrCwH8VbdVMmmEcj1h4--