blob: 954dbfaefb858bfc20aa93f62ab4da7aae97067c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--TEST--
Bug #46665 (Triggering autoload with a variable classname causes truncated autoload param)
--FILE--
<?php
spl_autoload_register(function ($class) {
var_dump($class);
require __DIR__ .'/bug46665_autoload.inc';
});
$baz = '\\Foo\\Bar\\Baz';
new $baz();
?>
--EXPECTF--
%string|unicode%(11) "Foo\Bar\Baz"
|