Posted by Skeleton Man on 04/25/07 00:27
Hi all,
I'm after the PHP equivlent to this Perl construct:
print @{[someFunctionCall()]}[0];
In the above example someFunctionCall() would return an array, and we're
printing the first item from the returned array..
How do I do this in PHP ? (without first assigning the output of the
function call to a variable)
Chris
[Back to original message]
|