From 6e9d304c9503e88fdac90a39aaff923f072618c8 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Sun, 21 Mar 2021 17:16:14 +0100 Subject: Make errorhandler PHP 8 compatible --- it_auto_prepend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_auto_prepend.php') diff --git a/it_auto_prepend.php b/it_auto_prepend.php index d02bcde..d65bc7b 100644 --- a/it_auto_prepend.php +++ b/it_auto_prepend.php @@ -188,7 +188,7 @@ function it_classloader($classname) EDC('ultraclassloader', $classname, it_debug::backtrace()); } -function it_errorhandler($errno, $errstr, $errfile, $errline, $errcontext) +function it_errorhandler($errno, $errstr, $errfile, $errline, $errcontext = []) { $error_reporting = error_reporting(0); # Disable error reporting while handling error -- cgit v1.2.3