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

From: Date: Thu, 08 Jul 2010 06:59:00 +0000
Subject: Re: "php -l" - does it find *anything*?
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-306751@lists.php.net to get a copy of this message
On 7/6/10, Per Jessen wrote: > It really is _only_ the syntax. Same goes for e.g. the C lint - Sorry, but that's not what I remember from my C days, nor what wikipedia says "lint was the name originally given to a particular program that flagged some suspicious and non-portable constructs (likely to be bugs) in C language source code." In fact, what would be the point of a C lint that does that? It's already done by the parsing/syntactical analysis part of the compiler, there'd be no point writing a separate program (lint) to do that. Anyway, yeah, I accept that that (syntax checking only) is what php -l does, even if I think it's wrong, or at least incorrectly described :) > -- > Per Jessen, Zürich (24.2°C) It feels warmer than that today. Maybe it's because my code isn't working X(

« previous php.general (#306751) next »