Re: syntax checking?
| From: | Bing Du | Date: | Wed, 23 Nov 2005 16:23:48 +0000 |
| Subject: | Re: syntax checking? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-226366@lists.php.net to get a copy of this message | ||
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 messagesJust 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