1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00

Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fix #78656: Parse errors classified as highest log-level
This commit is contained in:
Christoph M. Becker
2019-10-09 17:28:33 +02:00
2 changed files with 3 additions and 1 deletions

2
NEWS
View File

@@ -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,

View File

@@ -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: