diff options
Diffstat (limited to 'Zend/tests/call_user_func_002.phpt')
-rw-r--r-- | Zend/tests/call_user_func_002.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/tests/call_user_func_002.phpt b/Zend/tests/call_user_func_002.phpt index 0bf3d39376..454c6fda96 100644 --- a/Zend/tests/call_user_func_002.phpt +++ b/Zend/tests/call_user_func_002.phpt @@ -3,9 +3,9 @@ Testing call_user_func() with autoload and passing invalid params --FILE-- <?php -function __autoload($class) { +spl_autoload_register(function ($class) { var_dump($class); -} +}); call_user_func(array('foo', 'bar')); call_user_func(array('', 'bar')); |