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 /ext/xsl | |
parent | eaeecc523b665cfa856a376b9c55ca7fc9b7b596 (diff) | |
download | php-git-162aa1a5fc96b3dd7e3420c6882607b361801fbd.tar.gz |
Deprecate __autoload()
Diffstat (limited to 'ext/xsl')
-rw-r--r-- | ext/xsl/tests/bug33853.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/xsl/tests/bug33853.phpt b/ext/xsl/tests/bug33853.phpt index bcf30f65a3..16d7f73ced 100644 --- a/ext/xsl/tests/bug33853.phpt +++ b/ext/xsl/tests/bug33853.phpt @@ -5,10 +5,10 @@ Bug #33853 (php:function call __autoload with lowercase param) --FILE-- <?php -function __autoload($className) { +spl_autoload_register(function ($className) { var_dump($className); exit(); -} +}); $xsl = new DomDocument(); $xsl->loadXML('<?xml version="1.0" encoding="iso-8859-1" ?> |