is (( $objectA->fx('foo') )->fxBar() )[1]; possible ?
Posted: Wed Sep 02, 2009 1:12 pm
Hey everyone,
The problem is quite simple
I have that kind of functions, with objects from differents classes
$object2=$objectA->fx('foo');
$array=$object2->fxBar();
echo $array[1];
and I would like to do that :
echo (( $objectA->fx('foo') )->fxBar() )[1];
I know that it works with other languages like java, by catings objects
The problem is quite simple
I have that kind of functions, with objects from differents classes
$object2=$objectA->fx('foo');
$array=$object2->fxBar();
echo $array[1];
and I would like to do that :
echo (( $objectA->fx('foo') )->fxBar() )[1];
I know that it works with other languages like java, by catings objects