Background
In every other programming language I use on a regular basis, it is simple to operate on the return value of a function without declaring
You could use references:
$ref =& myFunc(); echo $ref['foo'];
That way, you're not really creating a duplicate of the returned array.