Bug #14102: php -l (lint) seems not work
| From: | pnine at free dot fr | Date: | Mon, 19 Nov 2001 03:59:13 +0000 |
| Subject: | Bug #14102: php -l (lint) seems not work | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-70859@lists.php.net to get a copy of this message | ||
From: pnine@free.fr
Operating system: linux 2.2.19
PHP version: 4.0.6
PHP Bug Type: *General Issues
Bug description: php -l (lint) seems not work
On earlier php versions the lint options on standalone php don't work (seg
fault with 4.0.3pl1 and 4.0.4pl1)
On 4.0.5 and 4.0.6 this problem seems fixed but lint return not output at
all, even if a parse error appears in php script.
script example : test.php
<?php
echo "hello;
?>
(the second double quotes missing)
So with :
$ php -l test.php
No output is return.
and of course with :
$ php -q test.php
I obtain a parse error string...
So is it a features or not really ? ;)
--
Edit bug report at: http://bugs.php.net/?id=14102&edit=1