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

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

 



On 2 August 2010 12:05, Gary <php-general@xxxxxxxxxxxxxxx> 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>

-- 
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