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->childTe
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 both
2 matches
Mail list logo