1/-2*5 (bug 41401)

From: Date: Fri, 18 May 2007 01:57:08 +0000
Subject: 1/-2*5 (bug 41401)
Groups: php.internals 
Request: Send a blank email to internals+get-29508@lists.php.net to get a copy of this message
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 stas@zend.com http://www.zend.com/

« previous php.internals (#29508) next »