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

From: Date: Tue, 06 Jul 2010 13:59:14 +0000
Subject: Re: "php -l" - does it find *anything*?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-306712@lists.php.net to get a copy of this message
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)

« previous php.general (#306712) next »