--TEST-- GH-15851: Access on NULL when printing backtrace with freed generator --FILE-- --EXPECTF-- #0 %s(%d): Foo->__destruct() #1 %s(%d): bar()