CompileError
In PHP 7.3, a new CompileError
type has been
introduced. It extends Error
and is now the parent type
of ParseError
. A few compilation errors now throw a
CompileError
instead of generating a fatal error. This
currently only affects compilation errors that may occur during
token_get_all()
in TOKEN_PARSE
mode. More
compilation errors may be converted from a fatal error to
CompileError
in the future.