Re: [PROPOSAL] Alphanumeric decrement
| From: | Andrea Faulds | Date: | Mon, 16 Dec 2013 23:35:05 +0000 |
| Subject: | Re: [PROPOSAL] Alphanumeric decrement | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-70685@lists.php.net to get a copy of this message | ||
On 16/12/13 23:33, Tjerk Meesters wrote:
I would love to completely eradicate it, but I also realize that there's existing code using it, such as: for ($class = 'A1'; $class <= 'A4'; ++$class); It might be hard to find the places where such code is being used, so I figured it made sense to have a deprecation period instead.Before writing the -- support patch, I wrote a patch to remove ++ support. There were a few tests that relied on the feature which required rewriting, so I'm quite worried about what'd happen if we removed it. Maybe in 6.0? -- Andrea Faulds http://ajf.me/