TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

PHP is dead…Viva le PHP

1 pointsby Crazyontapover 6 years ago

2 comments

cphooverover 6 years ago
&gt; &quot;nearly 80% of the internet is running on PHP as of 2018.&quot;<p>I&#x27;ve heard claims like this for years. They almost never explain their methodology for calculating market share among the entire web. The site linked actually shows its methodology and it proves that the author is using the statistic incorrectly.<p>Under methodolgies:<p>&gt; <i>We investigate technologies of websites, not of individual web pages. If we find a technology on any of the pages, it is considered to be used by the website.</i><p>This does not prove that 80% of the web is powered by PHP, but rather 80% of websites studied had PHP running in some capacity, under the same domain.<p>It would be wildly inaccurate to assess from that, that<p>&gt; <i>&quot;nearly 80% of the internet is running on PHP as of 2018.&quot;</i> as claimed.<p>Google.com may have a wordpress blog for press releases running somewhere under their domain... that hardly means google is powered by wordpress.<p>Also, for example it would be totally wrong to say Facebook is powered solely by PHP.
cphooverover 6 years ago
Also, and I say this as someone who has years of experience programming in multiple languages including PHP--It&#x27;s a logical fallacy to say just because most people do something it is the correct course of action to take. This is a logical fallacy known as <i>argumentum ad antiquitatem</i> or an &quot;appeal to common practice&quot;.<p>PHP is probably fine for many of the things the author mentioned particularly brochure, content-based, sites, blogs, portfolios etc... (although increasingly using static based sites hosted from s3 or other static host seems to make more sense, in terms of cost and performance.)<p>Then there is a whole host of other problem domains where PHP does not make sense as a technology choice, Data Science, Graphics, Comms&#x2F;Messaging, Systems programming. Let&#x27;s choose the right tool for the job. What&#x27;s the old adage about &quot;when all you have is a hammer you treat every job as a nail.&quot;