|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-10-09 16:17 UTC] 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 :-)
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 23:00:02 2025 UTC |
Parse error: syntax error, unexpected '{' in /tmp/3.php on line 4 To see the errors you should have display_errors enabled.