ID: 32153
Updated by: [EMAIL PROTECTED]
Reported By: switch at andrewwade dot co dot uk
-Status: Open
+Status: Bogus
Bug Type: Feature/Change Request
Operating System: Any
-PHP Version: Irrelevant
+PHP Version: 5.x
New Comment:
Duplicate of bug #23022
Previous Comments:
------------------------------------------------------------------------
[2005-03-01 18:29:03] switch at andrewwade dot co dot uk
Description:
------------
It would be good if we could access array data in the example shown
below.
function myFunction() {
return array('foo' => 'bar');
}
$value = myFunction()['foo'];
Instead of:
function myFunction() {
return array('foo' => 'bar');
}
$return = myFunction();
$value = $return['foo'];
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32153&edit=1