can this be done, referrring to an array immediately
- From: "windandwaves" <nfrancken@xxxxxxxxx>
- Date: 21 Nov 2006 17:32:21 -0800
Hi Folk
If I have myfunction() {
return array();
}
then can I write
echo myfunction()[0];
I tried that, and I can not, but is there a way or do I have to write
$myvar = myfunction();
echo $myvar[0];
TIA
nicolaas
.
- Follow-Ups:
- Re: can this be done, referrring to an array immediately
- From: pangea33
- Re: can this be done, referrring to an array immediately
- From: Norman Peelman
- Re: can this be done, referrring to an array immediately
- Prev by Date: Re: Lost formatting in browser 'view source'
- Next by Date: Re: Lost formatting in browser 'view source'
- Previous by thread: Firefox works and not IE
- Next by thread: Re: can this be done, referrring to an array immediately
- Index(es):