Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92675 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80473 invoked from network); 24 Apr 2016 07:53:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Apr 2016 07:53:50 -0000 Authentication-Results: pb1.pair.com header.from=php@fleshgrinder.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=php@fleshgrinder.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fleshgrinder.com from 77.244.243.86 cause and error) X-PHP-List-Original-Sender: php@fleshgrinder.com X-Host-Fingerprint: 77.244.243.86 mx105.easyname.com Received: from [77.244.243.86] ([77.244.243.86:34624] helo=mx207.easyname.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 35/00-14846-B8B7C175 for ; Sun, 24 Apr 2016 03:53:48 -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 1auErQ-0002Rw-EU; Sun, 24 Apr 2016 07:53:44 +0000 Reply-To: internals@lists.php.net References: <20160423230908.BD6F21A800F6@dd1730.kasserver.com> To: Benoit Schildknecht , internals@lists.php.net Message-ID: <571C7B79.6030706@fleshgrinder.com> Date: Sun, 24 Apr 2016 09:53:29 +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: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="c7Kr5lEcl5xTLqVWoB6d16LD46kiJgtml" X-ACL-Warn: X-DNSBL-BARRACUDACENTRAL Subject: Re: [PHP-DEV] [RFC] PHP Attributes From: php@fleshgrinder.com (Fleshgrinder) --c7Kr5lEcl5xTLqVWoB6d16LD46kiJgtml Content-Type: multipart/mixed; boundary="CC2rg03U6SIDuam9bB4eV6mc0WNwtfSkS" From: Fleshgrinder Reply-To: internals@lists.php.net To: Benoit Schildknecht , internals@lists.php.net Message-ID: <571C7B79.6030706@fleshgrinder.com> Subject: Re: [PHP-DEV] [RFC] PHP Attributes References: <20160423230908.BD6F21A800F6@dd1730.kasserver.com> In-Reply-To: --CC2rg03U6SIDuam9bB4eV6mc0WNwtfSkS Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 4/24/2016 1:48 AM, Benoit Schildknecht wrote: > If I was a popular framework creator, this wouldn't stop me. I would > release two packages : one for 7.0, another one for 7.1. And the 7.0 on= e > would be the 7.1 one that has been processed through a script to remove= > any <<>> syntax, or to transform it (if pre/post attributes instruction= s > were to be implemented in the core). >=20 > Regards, > Ben. >=20 > Le Sun, 24 Apr 2016 01:09:08 +0200, "Thomas Bley" = > a =C3=A9crit: >=20 >> The <<>> syntax comes with the problem that previous versions cannot >> ignore it on parsing. >> So poeple write new frameworks for 7.0 which cannot be parsed in 5.x, >> then they write new frameworks for 7.1 which cannot be parsed with 7.0= >> and 5.x and so on. >> For companies staying on Linux distributions with long term support on= >> 7.0, this is rather a nightmare for both users and framework maintaine= rs. >> When choosing <<>> or any other non-backward compatible syntax for >> 7.1, there should be a patch for 7.0 to ignore the new syntax without >> parse errors. >> >> Regards >> Thomas >> >=20 That is the nature of a feature release, you find many of those in any PHP feature release. Think of for instance `yield`, directly results in a parse error in older PHP versions. --=20 Richard "Fleshgrinder" Fussenegger --CC2rg03U6SIDuam9bB4eV6mc0WNwtfSkS-- --c7Kr5lEcl5xTLqVWoB6d16LD46kiJgtml 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 iQIcBAEBCAAGBQJXHHuBAAoJEOKkKcqFPVVrVAcQAKaZpzJEKg1bcMwa/o2bbbcv +IF0EHCIq8898IRqrvdt57o3uWFbP6AcqgbP74qtXerwCPIhz0KTIDbogCFAQcSt IQFvT3TojmioMEGT49qbL2l1MFRgKuYdgbkdMw927JRzM/LhdPg7qGP5uDONzTLi dKlzzFAAA2tcuzavr51aeueGz8vDJnDeuslC1BXw/DyCm3ognR7wDvo+98hR/vjP ODHCtrw6CU3453lihv9M8yKP1eJ+QW9P6H7ixdueqosKGKVOVRUgxEZUa2/gt419 AL2yFdFdMyHsAxwdIkzrxN/1LJjkfJYhtqlI/9pO1zufh4masKiU1Jc+mPhrMxqq ElX+TDrPLl46H0fiOeaj1HRE717+EYQvvhreZHPfNqqAAImogaxFU2z5BzkINtLM XfC6D099NYSfR9v4dNcpAlqRupinnykvwoqks5uYCK3Cx3xkw8W+3o8iwvZh/yd6 oDinuhYZIJUehqz28f4Ernt1vPkqVjcJRLzOjlq3njMcFv5DOujZqVBYu+fGt7wg hp3/RXj9OIIkmlA6SHA9/gg6zXNBNIfDbLzKV1JJcWXGpXFt1iVlNRItCkHPbNs7 D0frN1K78+F1NqAgPfZM3+f9mvPMoWvEN5LRguoWEEasUNfmOBkgGh1sA+CrzeHY oqchsddTOPUncjMBFeF8 =ll4q -----END PGP SIGNATURE----- --c7Kr5lEcl5xTLqVWoB6d16LD46kiJgtml--