Fwd: [PHP-DEV] deprecation status of $str{42} versus $str[42], revisited
| From: | Victor Bolshov | Date: | Thu, 23 Sep 2010 04:48:31 +0000 |
| Subject: | Fwd: [PHP-DEV] deprecation status of $str{42} versus $str[42], revisited | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-49780@lists.php.net to get a copy of this message | ||
---------- Пересланное сообщение ----------
От кого: Victor Bolshov <crocodile2u@gmail.com>
Дата: 23 сентября 2010 г. 8:48
Тема: Re: [PHP-DEV] deprecation status of $str{42} versus $str[42],
revisited
Кому: Chris Stockton <chrisstocktonaz@gmail.com>
Personally, I use the syntax $str{1} since long time before 2006, and when
it comes to that, I always remember {} but always forget []. It's just a
habit. Definitelty, I would prefer {} syntax to stay and not to issue any
kind of error.
2010/9/23 Chris Stockton <chrisstocktonaz@gmail.com>
Hello,
>
> On Wed, Sep 22, 2010 at 2:34 PM, Philip Olson <philip@roshambo.org> wrote:
> > Greetings geeks,
> >
> > Also, Andi mentioned[1] the possibility of optimizing {} for string use
> (the original intent) in which case keeping {} would be wise.
>
> It was over two years ago I commented on my interest in keeping {} and
> offering/exploring the potential to performance or feature
> improvements to the syntax, I still have the same opinion personally.
>
> -Chris
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
С уважением,
Виктор
--
С уважением,
Виктор