Translations:Manual:CheckSyntax.php/2/en

This command-line maintenance script checks source files for syntax errors and common coding mistakes, such as byte order marks, pointless PHP closing tags ($code1) at the end of file and whitespace before the opening tag ($code2).