diff --git a/src/Server.php b/src/Server.php index 338e360..c988967 100644 --- a/src/Server.php +++ b/src/Server.php @@ -1417,8 +1417,10 @@ public static function _xmlrpcs_errorHandler($errCode, $errString, $filename = n } //if ($errCode != E_NOTICE && $errCode != E_WARNING && $errCode != E_USER_NOTICE && $errCode != E_USER_WARNING) - if ($errCode != E_STRICT) { + if (PHP_VERSION_ID >= 70400) { static::error_occurred($errString); + } elseif ($errCode != E_STRICT) { + static::error_occurred($errString); } // Try to avoid as much as possible disruption to the previous error handling mechanism in place