Skip to content

Commit bbd481c

Browse files
committed
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2: Fix #78656: Parse errors classified as highest log-level
2 parents 6fd6ad8 + 3164186 commit bbd481c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ PHP NEWS
44

55
- Core:
66
. Fixed bug #78658 (Memory corruption using Closure::bindTo). (Nikita)
7+
. Fixed bug #78656 (Parse errors classified as highest log-level). (Erik
8+
Lundin)
79

810
- Iconv:
911
. Fixed bug #78642 (Wrong libiconv version displayed). (gedas at martynas,

main/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1297,7 +1297,7 @@ static ZEND_COLD void php_error_cb(int type, const char *error_filename, const u
12971297
break;
12981298
case E_PARSE:
12991299
error_type_str = "Parse error";
1300-
syslog_type_int = LOG_EMERG;
1300+
syslog_type_int = LOG_ERR;
13011301
break;
13021302
case E_NOTICE:
13031303
case E_USER_NOTICE:

0 commit comments

Comments
 (0)