Re: PHP 5.3: Is the use of {} to access string offsets deprecated?

From: Date: Mon, 06 Jul 2009 16:18:27 +0000
Subject: Re: PHP 5.3: Is the use of {} to access string offsets deprecated?
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-44724@lists.php.net to get a copy of this message
On Jul 6, 2009, at 9:00 AM, Christian Schneider wrote:
The migration guide states that "The use of {} to access string offsets is deprecated. Use [] instead." but the code in zend_compile.c is commented out with #ifdef ilia_0. What's the take on this? Will it be deprecated later or should that part be removed from the migration document?
It's been awhile but I once researched this, spoke with humans, and determined this syntax is deprecated as of PHP 6 and documented[1] it as such. However, that was almost three years ago so maybe the times have changed. Regards, Philip [1] http://php.net/manual/en/language.types.string.php#language.types.string.substr

« previous php.internals (#44724) next »