--TEST-- GH-21699 (static::): no shutdown_executor trampoline assertion when error handler throws during static:: callable resolution --FILE-- test(); ?> --EXPECTF-- Fatal error: Uncaught Exception in %s:%d Stack trace: #0 %s(%d): {closure:%s}(%d, 'Use of "static"%s', '%s', %d) #1 %s(%d): bar->test() #2 {main} Next TypeError: call_user_func(): Argument #1 ($callback) must be a valid callback, (null) in %s:%d Stack trace: #0 %s(%d): bar->test() #1 {main} thrown in %s on line %d