note 57778 deleted from language.types.array by mazzanet

From: Date: Fri, 14 Oct 2005 05:43:24 +0000
Subject: note 57778 deleted from language.types.array by mazzanet
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-96995@lists.php.net to get a copy of this message
Note Submitter: php@keithtyler dot com ---- Note that there is no way to directly access the members of an array returned by a function; the function must either be an argument to a function or copied to a new array. For example, you cannot do: function getArray() { return array("a" => "1", "b" => "2", "3") } print getArray()["b"];

« previous php.notes (#96995) next »