I got reply from core developer implementing new syntax. The implementation of
syntax $var{index} is not finished yet. So PHP programmers are NOT supposed to
use it yet. If you are curious, take a look at php-lang list archive.
Again
$var{index} is NOT supposed to used. (yet)
--
Yasuo Ohgaki
"CC Zona" <[EMAIL PROTECTED]> wrote in message
9bjdbf$aq1$[EMAIL PROTECTED]">news:9bjdbf$aq1$[EMAIL PROTECTED]...
> In article <9bjcj6$dg6$[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] ("Yasuo Ohgaki") wrote:
>
> > I'm not sure if accessing string as array is going to be depreciated or not.
> > (Or is it already depreciated???)
>
> I made a note of this a while ago when it came up on the list, because
> initially it sounded to me too like it was being deprecated. It's not.
> It's the current *method* for accessing string offsets that is expected to
> be deprecated in the near future. So instead of using $string[offset], we
> just should get into the habit of using $string{offset} now to save
> ourselves the hassle of going back to fix it later.
>
> --
> CC
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
- [PHP] Is it possible to parse a variable by character? Sean Coyle
- Re: [PHP] Is it possible to parse a variable by ch... Christian Reiniger
- RE: [PHP] Is it possible to parse a variable by ch... Maxim Maletsky
- Re: [PHP] Is it possible to parse a variable b... Sean Coyle
- Re: [PHP] Is it possible to parse a variab... Sean Coyle
- Re: [PHP] Is it possible to parse a variab... Wico de Leeuw
- Re: [PHP] Is it possible to parse a va... Christian Reiniger
- Re: [PHP] Is it possible to parse... Sean Coyle
- Re: [PHP] Is it possible to parse a variable by ch... Yasuo Ohgaki
- Re: [PHP] Is it possible to parse a variable b... CC Zona
- Yasuo Ohgaki