@NikiC I cleaned up a few things and squashed the changes to two commits again: https://github.com/php/php-src/compare/master...trowski:fiber-bailout
I think that approach makes a lot more sense. Switching to {main} specifically for fatal errors felt like a hack. This seems correct because it will handle any bailout within a fiber and maintains current bailout behavior once {main} is reached. Unless you see something that needs changing I'll push that to master.