PHP: php_check_syntax - Manual
Performs a syntax (lint) check on the specified filename testing for scripting errors. This is similar to using php -l from the commandline except that this function will execute (but not output) the checked filename. For example, if a function is defined...