Bug #17899 Updated: (Probably) Bug in zend parser

From: Date: Fri, 21 Jun 2002 16:15:08 +0000
Subject: Bug #17899 Updated: (Probably) Bug in zend parser
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-11694@lists.php.net to get a copy of this message
ID: 17899 Updated by: sander@php.net Reported By: othalla@wp.pl -Status: Open +Status: Feedback -Bug Type: Scripting Engine problem +Bug Type: Zend Engine 2 problem Operating System: linux RH6.1 PHP Version: 4.2.1 New Comment: This is a Zend Engine 2 problem I guess... Can you elaborate on this 'bug'? Why do you think it's wrong? Can you show us a script, etc... Previous Comments: ------------------------------------------------------------------------ [2002-06-21 10:41:52] othalla@wp.pl 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 this bug report at http://bugs.php.net/?id=17899&edit=1

« previous php.bugs (#11694) next »