mirror of
https://github.com/php/php-src.git
synced 2024-12-04 15:23:44 +08:00
Merge branch 'PHP-7.4'
* PHP-7.4: Fix #78656: Parse errors classified as highest log-level
This commit is contained in:
commit
508a179568
@ -1294,7 +1294,7 @@ static ZEND_COLD void php_error_cb(int type, const char *error_filename, const u
|
|||||||
break;
|
break;
|
||||||
case E_PARSE:
|
case E_PARSE:
|
||||||
error_type_str = "Parse error";
|
error_type_str = "Parse error";
|
||||||
syslog_type_int = LOG_EMERG;
|
syslog_type_int = LOG_ERR;
|
||||||
break;
|
break;
|
||||||
case E_NOTICE:
|
case E_NOTICE:
|
||||||
case E_USER_NOTICE:
|
case E_USER_NOTICE:
|
||||||
|
Loading…
Reference in New Issue
Block a user