Return to bug48023.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / spl / tests |
php
--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