26 ms·
WordPress is 25% of the internet. However, according to public metrics (https://w3techs.com/technologies/details/pl-php https://w3techs.com/technologies/details
by gjsman-1000 4y ago
WordPress is 25% of the internet. However, according to public metrics (https://w3techs.com/technologies/details/pl-php https://w3techs.com/technologies/details/pl-php), almost 80% of websites with known server-side programming language use PHP.
PHP being only WordPress? Laughable. PHP dying? Also laughable. PHP is the choice for everybody but FAANG and Silicon Valley startups. But not even all of them - Facebook, Wikipedia, P*nHub, Slack, MailChimp, Tumblr, Etsy, all PHP or Hack (a stricter variant, diverging over time). (Yes, Slack is PHP, not Node!)
> The web is more and more real time, all sorts of events fired thru sockets, work queues, and state is stored both on the client and on the server. PHP is not up for this task
Go visit Slack then. They are literally built on PHP, and later moved to Hack, Facebook's stricter-typed PHP because Facebook was as well. If Slack doesn't need "all sorts of events fired thru sockets, work queues, and state" I don't know what does, and yet PHP is their foundation. They're fine, and PHP is fine.
- phplovesong 4y agoI would not trust those metrics you showed. Its almost impossible to get real numbers. But one fact is certain, wordpress is almost the entirety of PHP out there. Facebook tried to patch PHP twice, first with HHVM, then with Hack. Finally they gave up and announced Hack will be "its own language" because they were so fed up with the inconsistencies. Slack is really just a chat. A glorified, slow version of IRC. I would not boast it as a marvel of engineering. If you want to se how to build a good and scalable chat system? See Whatsapp. Dont get me wrong, PHP is still used, and will be after 10-20 years. But the fact reamins that is on a slow decline. Its never going to be as popular as it was back in the early 2000s.