Also not a PHP problem but a WordPress problem. It's not a healthy eco-system.
I'd argue that's true for all of PHP. Sure it got better, but compared to other langugaes it is still a mess.
I hope you can give some factual arguments why it's still a mess.
Ding ding ding! This guys WordPresses. Even outside my network which is in decent shape, I have clients scrambling because they've ignored PHP updates for 2+ years. Sometimes burying your head in the sand is not the best strategy.
Wordpress has a lot to answer for here, but given the archaic and frankly idiotic way they operate they'll do nothing of the sort.
PHP is very backwards friendly and with a strong and stable ecosystem built around composer theres no excuses for majorly used (and often very profitable) wordpress plugins lagging so far behind.
A hosting provider that forces people to PHP 8 is not a good hosting platform for WordPress.