Bug #17899: (Probably) Bug in zend parser

From: Date: Fri, 21 Jun 2002 14:41:52 +0000
Subject: Bug #17899: (Probably) Bug in zend parser
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-11678@lists.php.net to get a copy of this message
From: othalla@wp.pl Operating system: linux RH6.1 PHP version: 4.2.1 PHP Bug Type: Scripting Engine problem Bug description: (Probably) Bug in zend parser In zend_language_parser.y there is code: [...] static_scalar: /* compile-time evaluated scalars */ [...] | '+' static_scalar { $$ = $1; } [...] but I think that schould be: [...] static_scalar: /* compile-time evaluated scalars */ [...] | '+' static_scalar { $$ = $2; } [...] ----------------------------------------------------- $2 instead of $1 It's still in PHP 4.3.0-alpha tarball. -- Edit bug report at http://bugs.php.net/?id=17899&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17899&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17899&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17899&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17899&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17899&r=support Expected behavior: http://bugs.php.net/fix.php?id=17899&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17899&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17899&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17899&r=globals

« previous php.bugs (#11678) next »