xref: /PHP-5.6/ext/spl/tests/bug71204.phpt (revision 620ccc9b)
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: Cannot destroy active lambda function in %sbug71204.php on line %d
17