Deferencing index of an array returned from function call

From: Date: Sat, 03 Apr 2004 16:58:52 +0000
Subject: Deferencing index of an array returned from function call
Groups: php.internals 
Request: Send a blank email to internals+get-8911@lists.php.net to get a copy of this message
Hi internals, maybe I am late for this for PHP 5 but just want to ask for opinion about dereferencing indexes of arrays returned by functions. In PHP 5 is possible to dereference member variables of an objects like : someFunc()->someMember; but this : $b = someFunction()['someIndex']; is not possible Andrey

« previous php.internals (#8911) next »