mirror of
https://github.com/php/php-src.git
synced 2024-10-19 23:44:13 +00:00
13 lines
208 B
Plaintext
13 lines
208 B
Plaintext
|
--TEST--
|
||
|
Bug #48023 (spl_autoload_register didn't addref closures)
|
||
|
--FILE--
|
||
|
<?php
|
||
|
spl_autoload_register(function(){});
|
||
|
|
||
|
new Foo;
|
||
|
|
||
|
?>
|
||
|
===DONE===
|
||
|
--EXPECTF--
|
||
|
Fatal error: Class 'Foo' not found in %s on line %d
|