ID: 36146
Updated by: [EMAIL PROTECTED]
Reported By: rolf at winmutt dot com
-Status: Open
+Status: Bogus
Bug Type: Feature/Change Request
Operating System: any
PHP Version: 5.1.2
New Comment:
Duplicate of bug #23022.
Previous Comments:
------------------------------------------------------------------------
[2006-01-24 19:20:08] rolf at winmutt dot com
Description:
------------
Recently support for returned objects were added, eg:
somefunc()->someotherfunc();
It would be nice to see the same for arrays :
$x = somefunc()[arraykey];
Especially for simpleXML xpath return values:
echo $xml->xpath('nodes/')[1];
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36146&edit=1