From: "James Moore" <[EMAIL PROTECTED]>

> untested but..
>
> > $foo = ${$test->blah()}[0];
>
> > // Similarly for objects, cannot do:
> > $foo = $test->childTest()->blah();
>
> $foo = ${$test->childTest()}->blah();
>

Nope, I tried that :)




> > // Instead have to do:
> > $temp = $test->childTest();
> > $foo = $temp->blah();
>
> Might work.. never had need to test it and cant be bothered now but would
be
> intereted to hear if it works..
>
> James
>



Cheers

Simon Garner


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to