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:
2
NEWS
2
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,
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user