I wanted to follow up in this thread to mention that PHP 8 is now an option in the latest Stable releases of Local (since 5.9.7)
PHP 8 has brought a lot of changes and WP core has done some amazing work getting things wired up, but the larger WordPress ecosystem should only be considered “Beta Compatible” with PHP 8.
Resharing this link from earlier in the thread, but if you’re wanting a more in-depth look at PHP 8 through the WordPress+Local lens, here’s a help doc to get you oriented:
The one main annoyance as @afragen has pointed out is the difference between Xdebug versions. I’ve created a story for the Local team to focus on getting things current, but no eta on when that will be done.
I’ll mark this feature requests as solved since it’s been released to stable, so be on the lookout for the improvements to come related to upgrading the PHP lightning service to Xdebug 3.0.