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
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
Comment