|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-04-16 14:43 UTC] colin at easydns dot com
"php -l script.php" doesn't seem to do anything. If it's been removed, then we should remove it from the list of "php -h" options. - Colin PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 18:00:01 2025 UTC |
Sorry to open it again, but I don't think it is working, even with 4.0.6rc2. Take this script with the missing semi-colon: x.php -------------------- <?php $a = array(1,2,3,4) print_r($a); ?> Then, "php -l x.php" outputs nothing, but "php x.php" returns the expected: X-Powered-By: PHP/4.0.6RC2 Content-type: text/html <br> <b>Parse error</b>: parse error in <b>x.php</b> on line <b>4</b><br> - Colin