![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: Bug #48023 (spl_autoload_register didn't addref closures) ! 3: --FILE-- ! 4: <?php ! 5: spl_autoload_register(function(){}); ! 6: ! 7: new Foo; ! 8: ! 9: ?> ! 10: ===DONE=== ! 11: --EXPECTF-- ! 12: Fatal error: Class 'Foo' not found in %s on line %d