Re: Alt. Array syntax (was Re: [PEAR-DEV] Prefix function name problem)
| From: | Guillaume Lecanu | Date: | Wed, 31 Mar 2004 07:22:35 +0000 |
| Subject: | Re: Alt. Array syntax (was Re: [PEAR-DEV] Prefix function name problem) | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-26887@lists.php.net to get a copy of this message | ||
Le mar 30/03/2004 à 03:20, Alan Knowles a écrit :
> > PS: I have heard the PHP 5 would be add the "[]" alias of the array
> > instruction : [1,2,3] equivalent to array(1,2,3)
> > But i have test the PHP 5 and this doesn't works..
> > Anybody have informations about this ?
>
> From what I remember, that got rejected totally, as php has a general
> syntax rule that you should be able to look things up in the manual - so
> www.php.net/array - gets you the manual page.., but what would happen
> here... www.php.net/[1,2,3]
>
Ok, it's a pitty..
Thanks
> Regards
> Alan
>
> >
> >
> > Thanks
> >
>