Re: Support negative indexes for arrays and strings
| From: | Matthew Fonda | Date: | Fri, 14 Jan 2011 18:32:54 +0000 |
| Subject: | Re: Support negative indexes for arrays and strings | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-51269@lists.php.net to get a copy of this message | ||
On Fri, Jan 14, 2011 at 10:21 AM, Marc Easen <marc@easen.co.uk> wrote:
> Hello everyone,
>
> I would like to open the discussion around the support of negative indexes, as I feel a lot of
> developers will benefit from this syntactical sugar.
It would be convenient, but PHP already allows arrays to have negative
indices. Changing their behavior would be a major BC break.
Best Regards,
--Matthew