Fixed php syntax error reporting.