--TEST-- Observer: Function observing in fibers with bailout in fiber --EXTENSIONS-- zend_test --INI-- zend_test.observer.enabled=1 zend_test.observer.show_output=1 zend_test.observer.observe_all=1 zend_test.observer.fiber_init=1 zend_test.observer.fiber_switch=1 zend_test.observer.fiber_destroy=1 memory_limit=100M --SKIPIF-- --FILE-- start(); $fiber = new Fiber(function (): void { var_dump(2); Fiber::suspend(); str_repeat('A', 200_000_000); }); $fiber->start(); $fiber->resume(); ?> --EXPECTF-- <{closure:%s:%d}> int(1) <{closure:%s:%d}> int(2) Fatal error: Allowed memory size of 104857600 bytes exhausted %s on line %d