Re: "php -l" - does it find *anything*?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gary . wrote:

> Yeah. There are static checkers out there, even some FOSS ones. I
> guess I'm just a bit frustrated that (as you say) the man page says
> that "-l" checks syntax but doesn't really detail what kind of things
> that covers. 

It really is _only_ the syntax. Same goes for e.g. the C lint - 

int main()
{
   char *p;

   p=0;
   *p=0;
}

this is 100% syntactically correct, but will core dump if you run it. 


-- 
Per Jessen, Zürich (24.2°C)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux