ID: 39098 Updated by: [EMAIL PROTECTED] Reported By: michael dot axt at mindcox dot com -Status: Feedback +Status: Bogus Bug Type: Scripting Engine problem Operating System: Linux x86-64Bit PHP Version: 5.1.6 New Comment:
Parse error: syntax error, unexpected '{' in /tmp/3.php on line 4 To see the errors you should have display_errors enabled. Previous Comments: ------------------------------------------------------------------------ [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