RE: [PHP-DEV] Re: Short syntax for array literals [...]
| From: | Jared Williams | Date: | Wed, 28 May 2008 18:31:05 +0000 |
| Subject: | RE: [PHP-DEV] Re: Short syntax for array literals [...] | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-37977@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Brian Moon [mailto:brianm@dealnews.com]
> Sent: 28 May 2008 16:21
> To: Antony Dovgal
> Cc: Sebastian Deutsch; internals@lists.php.net
> Subject: Re: [PHP-DEV] Re: Short syntax for array literals [...]
>
> Antony Dovgal wrote:
> > On 28.05.2008 02:58, Sebastian Deutsch wrote:
> >> fyi - i added a RFC
> >>
> >> http://wiki.php.net/rfc/shortsyntaxforarrays
> >>
> >> please add your votes
> >
> > You do understand that you will not be able to use this
> syntax in your
> > products for at least next 5 years without rising min required PHP
> > version to the latest one, right?
> > That makes it even more useless.
>
> Right, so the sooner the better. =)
>
> --
I'm sure there are going to be PHP6 or later applications as soon as 6 is
deemed production quality, and I suspect that may happen well (atleast hope)
within the next 5 years.
So makes the "won't be able to use" argument kind of pointless, anyway.
If you want backwards compatibility there is or will be a whole raft things
that you cannot use, like namespaces for instance.
Jared