untested but..

> $foo = ${$test->blah()}[0];

> // Similarly for objects, cannot do:
> $foo = $test->childTest()->blah();

$foo = ${$test->childTest()}->blah();

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


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