php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14102 php -l (lint) seems not work
Submitted: 2001-11-18 22:59 UTC Modified: 2001-11-18 23:15 UTC
From: pnine at free dot fr Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0.6 OS: linux 2.2.19
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: pnine at free dot fr
New email:
PHP Version: OS:

 

 [2001-11-18 22:59 UTC] pnine at free dot 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 ? ;)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-18 23:15 UTC] mfischer@php.net
This bas been fixed in CVS already.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 11:01:29 2025 UTC