1--TEST-- 2Bug #71204 (segfault if clean spl_autoload_funcs while autoloading ) 3--FILE-- 4<?php 5 6spl_autoload_register(function ($name) { 7 spl_autoload_unregister("spl_autoload_call"); 8}); 9 10spl_autoload_register(function ($name) { 11}); 12 13new A(); 14?> 15--EXPECTF-- 16Fatal error: Uncaught Error: Class 'A' not found in %sbug71204.php:%d 17Stack trace: 18#0 {main} 19 thrown in %sbug71204.php on line %d 20