summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli_server.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2017-09-24 15:24:51 +0200
committerNikita Popov <nikita.ppv@gmail.com>2018-06-16 12:41:03 +0200
commitd04917c7b361fd07e098fe29ae931fb6fac1d9e0 (patch)
treea37ad12b79f04abb6b6cf9efe9500da573eb00fd /sapi/cli/php_cli_server.c
parent0bd3fecbcbd37f63063155163f64e0591f4761ea (diff)
downloadphp-git-d04917c7b361fd07e098fe29ae931fb6fac1d9e0.tar.gz
Fixed bug #75218
I've introduced a new CompileError type, from which ParseError inherits. These errors are not parse errors in the narrow sense of the term, even though they happen to be generated during parsing in our implementation. Additionally reusing the ParseError class for this purpose would change existing error messages (if the exception is not caught) from a "Fatal error:" to a "Parse error:" prefix, and also the error kind from E_COMPILE_ERROR to E_PARSE.
Diffstat (limited to 'sapi/cli/php_cli_server.c')
0 files changed, 0 insertions, 0 deletions