PHP E_PARSE

E_PARSE (4) identifies a syntax error detected by the parser. PHP cannot execute a source file it cannot parse.

A simple example

E_PARSE

  1. Start with A PHP file with an incomplete assignment
  2. Do this Parse the file
  3. Result Parse error
The parser needs a value after the equals sign. The invalid file cannot begin normal execution.