diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2017-01-30 22:28:17 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2017-02-03 18:52:57 +0100 |
commit | 162aa1a5fc96b3dd7e3420c6882607b361801fbd (patch) | |
tree | 9c03b8d0a1b41824c92550df2192eef4ec2c4492 /Zend/tests/call_user_func_002.phpt | |
parent | eaeecc523b665cfa856a376b9c55ca7fc9b7b596 (diff) | |
download | php-git-162aa1a5fc96b3dd7e3420c6882607b361801fbd.tar.gz |
Deprecate __autoload()
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')); |