blob: e42e2f4f03cde301640b15b7dbd34e29d54ceab2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--TEST--
Bug #48023 (spl_autoload_register didn't addref closures)
--FILE--
<?php
spl_autoload_register(function(){});
new Foo;
?>
===DONE===
--EXPECTF--
Fatal error: Uncaught Error: Class "Foo" not found in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
|