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?
--
Stanislav Malyshev, Zend Products Engineer
[EMAIL PROTECTED]  http://www.zend.com/

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to