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