php_check_syntax Check the syntax of the specified file Description boolphp_check_syntax stringfile_name stringerror_message The php_check_syntax function performs a syntax (lint) check on the specified filename testing for scripting errors. If the second parameter is passed, the function will return the error messages from the syntax check. This parameter must be passed by reference. The following example shows how this function can be used. <function>php_check_syntax</function> example ]]> The output of the above script could look something like this: