|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-02-15 07:10 UTC] laruence@php.net
-Status: Open
+Status: Not a bug
[2017-02-15 07:10 UTC] laruence@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Mar 12 10:00:02 2026 UTC |
Description: ------------ <?php if(true (false)) { } //save this code as test.php //run 'php -l test.php' in cli detect no syntax error //run 'php -f test.php' in cli report syntax error Test script: --------------- <?php if(true (false)) { } //save this code as test.php //run 'php -l test.php' in cli detect no syntax error //run 'php -f test.php' in cli report syntax error Expected result: ---------------- detect the syntax error