ID: 39098
User updated by: michael dot axt at mindcox dot com
Reported By: michael dot axt at mindcox dot com
Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Linux x86-64Bit
PHP Version: 5.1.6
New Comment:
Error-Reporting is switched on - completely incl. strict's
I tried the code on a 5.1.6 32-Bit php. The error occurs only on the
64-Bit php.
Previous Comments:
------------------------------------------------------------------------
[2006-10-09 17:21:52] [EMAIL PROTECTED]
Parse error: syntax error, unexpected '{' in /tmp/3.php on line 4
To see the errors you should have display_errors enabled.
------------------------------------------------------------------------
[2006-10-09 16:25:42] [EMAIL PROTECTED]
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
------------------------------------------------------------------------
[2006-10-09 16:17:05] michael dot axt at mindcox dot com
Description:
------------
If there is a dash after the right parenthesis, php crashes without any
error or notices. Apache delivers an empty page with http status 200.
This issue occurs only within the 64-bit version.
Reproduce code:
---------------
<?php
$test = true;
if ($test)-
{
echo "true";
}
echo "done";
Expected result:
----------------
Parse error: syntax error, unexpected..... bla bla as it is on most
other php versions :-)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39098&edit=1