Posted by Bing Du on 11/23/05 18:23
Jay Blanchard wrote:
> [snip]
> Even with error_reporting set to E_ALL in php.ini, I still get 'Errors
> parsing file.php' using the php command with the -l option. Anyway to
> see more than that?
> [/snip]
>
> Here are some command line options http://us2.php.net/features.commandline
>
> You could run it in a browser to get line numbers and more precise error
> messages
Just found out this web based PHP syntax checking tool
http://www.meandeviation.com/tutorials/learnphp/php-syntax-check/, it
helped me find the problem. Pretty nice.
Bing
[Back to original message]
|