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