diff --git a/NEWS b/NEWS index e96d88f4c1c..facfaf0724c 100644 --- a/NEWS +++ b/NEWS @@ -4,6 +4,8 @@ PHP NEWS - Core: . Fixed bug #78658 (Memory corruption using Closure::bindTo). (Nikita) + . Fixed bug #78656 (Parse errors classified as highest log-level). (Erik + Lundin) - Iconv: . Fixed bug #78642 (Wrong libiconv version displayed). (gedas at martynas, diff --git a/main/main.c b/main/main.c index f729c2e2757..6917fe32309 100644 --- a/main/main.c +++ b/main/main.c @@ -1297,7 +1297,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: