7 * Parses PHP code into a node tree.
9 * @param string $code The source code to parse
10 * @param ErrorHandler|null $errorHandler Error handler to use for lexer/parser errors, defaults
11 * to ErrorHandler\Throwing.
13 * @return Node[]|null Array of statements (or null if the 'throwOnError' option is disabled and the parser was
14 * unable to recover from an error).
16 public function parse($code, ErrorHandler $errorHandler = null);