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/