PHP 5.4's simplified string offset reading
As many of you already know, PHP 5.4 alpha has been released. I have a question regarding the following. Simplified string offset reading. $str[1][0] is now a legal construct. How exactly does $str[1][0] work? EDIT: http://php.net/releases/NEWS_5_4_0_alpha1.txt Philip Olson This is a side effect, and was mentioned in the proposal here: http://php.markmail.org/thread/yiujwve6zdw37tpv The feature is speed/optimization of string offsets. Hi, Recently I noticed that reading of string offset is performed in two steps. At first special string_offset variant of temporary_variable is created in zend