diff options
author | Erik Lundin <erik@coretech.se> | 2019-10-09 14:08:22 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2019-10-09 17:27:32 +0200 |
commit | 3164186d53533ac5239790e692b33dd6e56c18df (patch) | |
tree | 8df0b547c4765d337f3ec78c96e161f556952179 | |
parent | d6ca174d5b82b92a5f28e81e85f45c2892949cf7 (diff) | |
download | php-git-3164186d53533ac5239790e692b33dd6e56c18df.tar.gz |
Fix #78656: Parse errors classified as highest log-level
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | main/main.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -2,6 +2,10 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ??? 2019, PHP 7.2.25 +- Core: + . Fixed bug #78656 (Parse errors classified as highest log-level). (Erik + Lundin) + - Iconv: . Fixed bug #78642 (Wrong libiconv version displayed). (gedas at martynas, cmb). diff --git a/main/main.c b/main/main.c index 37d520ec34..a3fc980b17 100644 --- a/main/main.c +++ b/main/main.c @@ -1131,7 +1131,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: |