Re: AW: [PHP-DEV] dropping curly braces

From: Date: Fri, 18 Nov 2005 15:37:07 +0000
Subject: Re: AW: [PHP-DEV] dropping curly braces
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-20158@lists.php.net to get a copy of this message
    Maybe you have spoken to the wrong people then.  Since {} has
    been advocated for quite some time as the Right Way to access
    string offsets, basically all PHP books teach that syntax.
    As such {} is used very frequently.  There are vast amounts
    of code with that syntax.  Breaking it deliberately is a
    very bad idea from my POV.
    - Sascha
On Fri, 18 Nov 2005, Rasmus Lerdorf wrote:
The PHP 6 stuff is still up in the air. The original suggestion was to carry through with the deprecation of [] which I strongly vetoed since it would break everything. We can revisit whether we want to remove {} in PHP 6. I didn't think people had such strong feelings about it. From my checks with people, most had no idea you could even use {}'s on strings. -Rasmus Sascha Schumann wrote:
    And it really should not be going away in PHP 6 either.  I
    don't get why you are suggesting to expend so many resources
    as part of a migration effort while it is obvious that there
    are no advantages at all in dropping {}.  It makes no sense.
    - Sascha
On Fri, 18 Nov 2005, Rasmus Lerdorf wrote:
Matthias Pigulla wrote:
Even the attempt of trying to change or remove some language feature like the {} thing IN A RC5 is unbelievably unprofessional.
For the 13th time. {} is not going away in 5.1. -Rasmus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.internals (#20158) next »