Syntax Check PHP 5.4 File

Many PHP systems are configured not to show syntax errors (or other errors) on production web servers. If you are running a separate development server or running a server on your own PC you can set the display_errors flag to true in php.ini. This will also make it easier to check other kinds of errors.

However, if you cannot do this for some reason, or you just want a quick check of the PHP syntax, then this page is for you!

Simply select the PHP file you would like below and then press 'Check this File'. This will do a syntax check and show you any (usually the first!) syntax errors in your file. As syntax errors are reported with line numbers and not all editors support line numbering, the results page will also show you a numbered listing of your script.