PHP is still the #10 programming language in the Stackoverflow survey (<a href="https://survey.stackoverflow.co/2024/technology#most-popular-technologies-language-prof" rel="nofollow">https://survey.stackoverflow.co/2024/technology#most-popular...</a>), above Rust, Kotlin, Ruby, Swift, Elixir, etc.<p>There are still a bazillion Wordpress sites that will probably be around forever. It's still more popular than Svelte, Ruby, HTMX, Remix, etc. (<a href="https://survey.stackoverflow.co/2024/technology#most-popular-technologies-webframe-prof" rel="nofollow">https://survey.stackoverflow.co/2024/technology#most-popular...</a>). And there are a ton of Drupal agencies (<a href="https://www.drupal.org/drupal-services" rel="nofollow">https://www.drupal.org/drupal-services</a>). I went to a drupal conf a few years ago and was surprised by how many businesses still use it. (I HATE Drupal and will never touch it again, but some orgs swear by it). Lots of jobs too: <a href="https://jobs.drupal.org/" rel="nofollow">https://jobs.drupal.org/</a> And on that survey, Laravel, Symfony, and CodeIgniter are also PHP.<p>The Web has a very long tail of old, stale, boring small to medium sites. PHP won't make you rich these days and it won't get you the latest and sexiest, but it's still being maintained, still improving, still used, and you can still get jobs for it if you're OK working with legacy code for old-fashioned companies.<p>-----------<p>I don't think it's as easy to scale up though, because PHP usually requires a whole LEMP stack to serve up, unlike JS code that can run serverless in an isolate or node instance. And it doesn't have the advantage of being the same language used frontend, backend, and in-between.<p>I think React (or at least JSX) has largely taken over what PHP used to provide: in-HTML templating & logic. The code is just as ugly and just as unmaintainable, but it's very easy to get started with and there's a glut of low-skill, low-cost devs, just like in the PHP days. Kinda makes sense that the big PHP company (Facebook) would then go on to make React.