Skip to content

Commit 3164186

Browse files
eriklundincmb69
authored andcommitted
Fix #78656: Parse errors classified as highest log-level
1 parent d6ca174 commit 3164186

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ PHP NEWS
22
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
33
?? ??? 2019, PHP 7.2.25
44

5+
- Core:
6+
. Fixed bug #78656 (Parse errors classified as highest log-level). (Erik
7+
Lundin)
8+
59
- Iconv:
610
. Fixed bug #78642 (Wrong libiconv version displayed). (gedas at martynas,
711
cmb).

main/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1131,7 +1131,7 @@ static ZEND_COLD void php_error_cb(int type, const char *error_filename, const u
11311131
break;
11321132
case E_PARSE:
11331133
error_type_str = "Parse error";
1134-
syslog_type_int = LOG_EMERG;
1134+
syslog_type_int = LOG_ERR;
11351135
break;
11361136
case E_NOTICE:
11371137
case E_USER_NOTICE:

0 commit comments

Comments
 (0)