Re: Zend-Engine2

From: Date: Sun, 19 Aug 2001 16:44:39 +0000
Subject: Re: Zend-Engine2
References: 1 2 3 4 5 6 7  Groups: php.dev 
Request: Send a blank email to php-dev+get-63743@lists.php.net to get a copy of this message
At 19:48 19-08-01, Markus Fischer wrote:
On Sun, Aug 19, 2001 at 07:40:06PM +0300, Zeev Suraski wrote : At 19:37 19-08-01, Markus Fischer wrote:
print_r( $a->b()->e()[0]); The last line gives parse error. So, I guess no yet supported?
There are no plans to support this kind of dereferencing (arrays are still native types). Oh ... sadly. I thought I read something about this in the draft. Then again, could be having to less sleep when reading it :| Is it like 'implementing this would be not trivial for the advantage gained' or is it like 'no one has yet considered about this syntax ?
The former more than the latter. It also makes less conceptual sense. Zeev

« previous php.dev (#63743) next »