[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-internals
Subject:    Fwd: [PHP-DEV] deprecation status of $str{42} versus $str[42], revisited
From:       Victor Bolshov <crocodile2u () gmail ! com>
Date:       2010-09-23 4:48:31
Message-ID: AANLkTi=Y1xwXJ38mfT7FryGywHQwoUYrfBg1Dmp58dDo () mail ! gmail ! com
[Download RAW message or body]


---------- Пересланное соо щение ----------
От кого: 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
>
>


-- 
С уважением,
Виктор



-- 
С уважением,
Виктор


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic