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

From: Date: Mon, 02 Aug 2010 10:09:50 +0000
Subject: Re: Re: "php -l" - does it find *anything*?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-307281@lists.php.net to get a copy of this message
On 2 August 2010 12:05, Gary <php-general@garydjones.name> wrote: > Okay, I'm resurrecting this because I just found something I consider to > be strange in the documentation. Under the -l option at > http://php.net/manual/en/features.commandline.options.php it > says > > "This option won't find fatal errors (like undefined functions). Use -f > if you would like to test for fatal errors too." > > Okay, but.. umm... "-f"? Really? That doesn't make any sense, given what > -f is for (actually running the script). Documentation bug, or is my > brain failing to work today? Sounds like a roundabout way of saying "You can only find run-time errors (such as undefined functions) by actually running the script". Could definitely need some clarification Regards Peter -- <hype> WWW: http://plphp.dk / http://plind.dk LinkedIn: http://www.linkedin.com/in/plind BeWelcome/Couchsurfing: Fake51 Twitter: http://twitter.com/kafe15 </hype>

« previous php.general (#307281) next »