ID:               23227
 Updated by:       [EMAIL PROTECTED]
 Reported By:      n dot manu at palina dot net
-Status:           Assigned
+Status:           Closed
 Bug Type:         Zend Engine 2 problem
 Operating System: Windows NT or XP
 PHP Version:      5CVS-2003-04-15 (dev)
 Assigned To:      zeev
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2003-04-15 14:09:03] colons at arebad dot com

I am thinking that if you edit Zend/zend_language_scanner.l on line 486
where it reads:

NAMESPACE_NAME ({LABEL}":")+{LABEL}

and just put it into

NAMESPACE_NAME {LABEL}

then problem will be getting fixed up.

------------------------------------------------------------------------

[2003-04-15 11:02:29] [EMAIL PROTECTED]

This is a valid bug. I think Zeev said he knows a fix for this?

------------------------------------------------------------------------

[2003-04-15 11:02:27] [EMAIL PROTECTED]

This is a valid bug. I think Zeev said he knows a fix for this?

------------------------------------------------------------------------

[2003-04-15 08:17:09] n dot manu at palina dot net

Following script :

<?
$test = 1; 

if(((1 == $test)? true:false)){ // 
   echo 'ok'; 
} 
else{ // 
   echo 'probleme'; 
}

?>

causes the following error :

Parse error: parse error, unexpected ')', expecting
T_PAAMAYIM_NEKUDOTAYIM in c:\program files\apache
group\apache\htdocs\test_weber.php on line 4

--------------
With one of the following lines, there is no error :
if (((1 == $test)?true :false)){ //
if (((1 == $test)?true: false)){ // 
if (((1 == $test)?true : false)){ //

--------------
This error is not reproducible in with the latest release of php4
(4.3.2)


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=23227&edit=1

Reply via email to