Hi.
Is there a method to do that in PHP ?
<C++ code> cout >> getuser()->sName; </C++ code>
I think that :
echo(getuser()->sName);
would work, but i get an error.
Anyone ?
Thanks.
this kind of dereferencing won't work in php < 5 at all php 5 is able to do so afair
Ok.
I'll do : $obj = getuser(); echo $obj->sName instead.