Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38155 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42751 invoked from network); 10 Jun 2008 23:13:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jun 2008 23:13:08 -0000 Authentication-Results: pb1.pair.com header.from=lars@strojny.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=lars@strojny.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain strojny.net designates 78.46.69.2 as permitted sender) X-PHP-List-Original-Sender: lars@strojny.net X-Host-Fingerprint: 78.46.69.2 milch.schokokeks.org Received: from [78.46.69.2] ([78.46.69.2:60878] helo=milch.schokokeks.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7B/42-26183-28A0F484 for ; Tue, 10 Jun 2008 19:13:08 -0400 Received: from [192.168.0.100] (xdsl-87-78-217-211.netcologne.de [::ffff:87.78.217.211]) (AUTH: PLAIN lars@schokokeks.org, SSL: TLSv1/SSLv3,256bits,CAMELLIA256-SHA) by milch.schokokeks.org with esmtp; Wed, 11 Jun 2008 01:13:03 +0200 id 000000000000C014.00000000484F0A7F.0000319D To: Markus Fischer Cc: PHP Developers Mailing List In-Reply-To: <484F0897.4040405@fischer.name> References: <77972256-ED0C-4FCE-8DEF-8283FE1BBFC5@roshambo.org> <484F0897.4040405@fischer.name> Date: Wed, 11 Jun 2008 01:13:02 +0200 Message-ID: <1213139582.12765.5.camel@localhost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=_milch.schokokeks.org-12701-1213139583-0001-2" X-Mailer: Evolution 2.22.2 Subject: Re: [PHP-DEV] deprecation status of $str{42} versus $str[42] From: lars@strojny.net (Lars Strojny) --=_milch.schokokeks.org-12701-1213139583-0001-2 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Markus, Am Mittwoch, den 11.06.2008, 01:04 +0200 schrieb Markus Fischer: [...] > I don't get this deprecation and thus the forced code change at all.=20 > Considering the amount of code using this style, see > http://www.google.com/codesearch?as_q=3D\%24[a-z][a-z0-9_]*{[^}]%2B}&hl= =3Den&as_lang=3Dphp > and given that no PHP code change has been done I would rather suggest=20 > removing the chase for deprecation in this case and remove this from the=20 > documentation and let the syntax exist that way as long as PHP lives. I agree, unless there is a sane technical reason (problems with the parser, an ambiguity I overlook), I would rather prefer not to go on with its deprecation. It even allows to enforce [] for array- and {} for string offsets in the coding style which helps to distinguish both. cu, Lars --=_milch.schokokeks.org-12701-1213139583-0001-2 Content-Type: application/pgp-signature; name="signature.asc" Content-Transfer-Encoding: 7bit Content-Description: Dies ist ein digital signierter Nachrichtenteil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) iQIcBAABAgAGBQJITwp4AAoJECQPF+sCY6wHBZQP/jlh0+70/ZXVPiPa9O985wS/ LVgLaMlPsUEb2ZHO7wOgkhqwonzbPqNS5sRBEQb+860VYUdtIsyvQLInCmEHpqCr gsvIBaBRmrCEfDOu+2U6fFnVJXYbKvVf4l4MUZul35p5AH2L/RydQwENBlZt4Yqe gE/oFcHMKcSzmM1DlF0filTjq/+r8VD3lsyqhlCdJTbZytdAKieyc9beDKMhEZ+B jC0y49P5xAoYdr68dAFdetczrr0i4M0wvMJV69+UmUuAIyO2NnDNAvXHOroyHRMx YXhJNfM0QQEXwSCjtEJJLU98iJIUFsVN2hDQWRulOKWPzczr+zp+wPTxG4YVEMxS T1Q5sUQIBjAVH+xaJSkxE33jp9GkbtLL37hhADDU6FChh2ONyEFuRrQOASs3VgBV rTh5MPCNAarvpk+6ClZBVbNBmShRCNsoRlSSFyJ/nxC1xThkcomtdZnItMtz4o4p RvXN9eU+ozEMxIZBoV35NZmumXlhJDzyXZ0SuIY7T9JSI09ozG4QEvccttJbt6L9 OT26QY/0v2fXb5IWCYDdX8a+otxBtr8z/ObQusZkIwXYXTMExPTg78TG/2H+WNl2 J9fFC45JhySa1mDha/ajpTNNp6gvc4p6Br3W468iTAAFBRwAqzrtkZbXkJtih7q1 Z00Ft/hW5hcTPQRjXta4 =SQgh -----END PGP SIGNATURE----- --=_milch.schokokeks.org-12701-1213139583-0001-2--