summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2019-10-09 17:29:34 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2019-10-09 17:29:54 +0200
commit973617cacd9a289ebc71de7bf205d9bad0ca150c (patch)
treec87c0443f5b34e6d8b28fad1326e2877d2b43092 /main
parent91eb6324728e576b65ff0d55672bc77ac104af9b (diff)
parentbbd481c11da657c8a4e7f764ec0953e3d71c2f4a (diff)
downloadphp-git-973617cacd9a289ebc71de7bf205d9bad0ca150c.tar.gz
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3: Fix #78656: Parse errors classified as highest log-level
Diffstat (limited to 'main')
-rw-r--r--main/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.c b/main/main.c
index d865027887..5c81ea046d 100644
--- a/main/main.c
+++ b/main/main.c
@@ -1309,7 +1309,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: