Posted by lister on 03/19/07 14:59
Hi all,
Is it possible to directly reference an object that is returned by a
function in PHP?
ie this:
echo ReturnAnObject()->SomeMember;
instead of this:
var $Object = ReturnAnObject();
echo $Object->SomeMember;
'cus I can't work out the syntax if it is. :-(
Cheers,
Lister
Navigation:
[Reply to this message]
|