Re: svn: /php/php-src/ branches/PHP_5_2/run-tests.phpbranches/PHP_5_3/run-tests.php trunk/run-tests.php

From: Date: Wed, 18 Aug 2010 06:39:00 +0000
Subject: Re: svn: /php/php-src/ branches/PHP_5_2/run-tests.phpbranches/PHP_5_3/run-tests.php trunk/run-tests.php
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-49441@lists.php.net to get a copy of this message
On 08/17/2010 05:14 PM, Kalle Sommer Nielsen wrote:
Hi Matteo 2010/8/17 Matteo Beccati<php@beccati.com>:
Hi Kalle Aren't curly braces deprecated? ;)
After reading the manual, yeah in 5.3+ they are. They don't however throw an E_DEPRECATED notice so unless consulting the manual I don't think so many are aware of it, including myself. As for changing it, I will commit a patch for changing it back sometime later this week.
Didn't we go back on the decision on deprecating curly braces for string indexing? I think this is the reason why it doesn't emit E_DEPRECATED. Cheers, Mike

« previous php.internals (#49441) next »