On Fri, 18 May 2007, Rasmus Lerdorf wrote: > Stanislav Malyshev wrote: > > Looks like we have a precedence bug in the parser rules there. > > Fortunately it's quite easy to fix, for example writing the rules as: > > > > | '+' expr %prec T_INC > > | '-' expr %prec T_INC > > > > seems to work. Any reason not to? > > I think this should go in. It is an obvious mistake in the parser as > far as I am concerned.
However, it's probably possible that this will break some stuff for people, so I don't think we should do it in PHP 4.4. regards, Derick -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php