[nycphp-talk] Access an element of a method that returns an ar ray
Fan, Wellington
wfan at VillageVoice.com
Tue Jul 20 18:47:57 EDT 2004
Sorry; should have mentioned it's PHP 4.3.4
> >
> > echo $myObject->littlePieces()[3];
> > echo ($myObject->littlePieces())[3];
>
> Is this PHP 4 or PHP 5. I'm not surprised if it doesn't work in PHP
> 4. I think that should work in PHP 5, but I wouldn't swear to it.
>
> -adam
More information about the talk
mailing list
Automatic Email Organization without missing anything!