To run a quick sanity check on a PHP script, run:
php -l filename
EXAMPLE:
Warning at line 46, character 15:
Sorry, the comment form is closed at this time.
Sorry, the comment form is closed at this time.