Bug #14102 Updated: php -l (lint) seems not work
| From: | mfischer@php.net | Date: | Mon, 19 Nov 2001 04:15:01 +0000 |
| Subject: | Bug #14102 Updated: php -l (lint) seems not work | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-70861@lists.php.net to get a copy of this message | ||
ID: 14102
Updated by: mfischer
Reported By: pnine@free.fr
Old Status: Open
Status: Closed
Bug Type: *General Issues
Operating System: linux 2.2.19
PHP Version: 4.0.6
New Comment:
This bas been fixed in CVS already.
Previous Comments:
------------------------------------------------------------------------
[2001-11-18 22:59:12] pnine@free.fr
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 this bug report at http://bugs.php.net/?id=14102&edit=1