diff --git a/src/Utils/Callback.php b/src/Utils/Callback.php index 7cf6bda31..dc3b4b23b 100644 --- a/src/Utils/Callback.php +++ b/src/Utils/Callback.php @@ -95,7 +95,7 @@ public static function invokeSafe($function, array $args, $onError) }); try { - return $function(...$args); + return call_user_func_array($function, $args); // https://github.com/sektioneins/suhosin/issues/114 } finally { restore_error_handler(); }