PHP Syntax Check
Ever had to make a change to a PHP file on the fly only to discover you made a syntax error? E.g.
config.php in Moodle?
There’s an easy way to make sure you don’t have any syntax errors in your changes:
$ php -l config.php
Any syntax errors are reported on the screen.
If there are no errors you'll see: