summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--main/main.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 43791a4b7e..f99c955000 100644
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,8 @@ PHP NEWS
. Fixed bug #78644 (SEGFAULT in ZEND_UNSET_OBJ_SPEC_VAR_CONST_HANDLER).
(Nikita)
. Fixed bug #78658 (Memory corruption using Closure::bindTo). (Nikita)
+ . Fixed bug #78656 (Parse errors classified as highest log-level). (Erik
+ Lundin)
- COM:
. Fixed bug #78650 (new COM Crash). (cmb)
diff --git a/main/main.c b/main/main.c
index d865027887..5c81ea046d 100644
--- a/main/main.c
+++ b/main/main.c
@@ -1309,7 +1309,7 @@ static ZEND_COLD void php_error_cb(int type, const char *error_filename, const u
break;
case E_PARSE:
error_type_str = "Parse error";
- syslog_type_int = LOG_EMERG;
+ syslog_type_int = LOG_ERR;
break;
case E_NOTICE:
case E_USER_NOTICE: