ID: 10348 User Update by: [EMAIL PROTECTED] Old-Status: Closed Status: Open Bug Type: PHP options/info functions Operating system: RH/Debian PHP Version: 4.0 Latest CVS (16/04/2001) Description: php -l (lint) disabled? 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 Previous Comments: --------------------------------------------------------------------------- [2001-06-01 17:04:46] [EMAIL PROTECTED] Works just fine for me. (it's syntax check only, ie. try putting some error in you script..) --Jani --------------------------------------------------------------------------- [2001-04-16 14:43:11] [EMAIL PROTECTED] "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 --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=10348 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]