Since the dawn of the 21st century, there have been a lot of murmurs that PHP is dead. If you type on Google Search – ‘Is PHP Dead’, you’ll stumble upon thousands of articles or blog posts that are reciting the same old narrative that PHP is dying or how the usage of PHP has been plummeting. Let’s not pay heed to the rumors that are doing rounds on the internet for many years and get straight to the facts.
PHP Usage Statistics
We do not deny the fact that Python, NodeJS, Angular, and React are garnering immense attention and all the rage these days, but that doesn’t mean that PHP is dead or companies have stopped hiring PHP developers. If you look at the numbers, you’ll be convinced that PHP is not dying, in fact, it is still dominating the web in 2021. Without further ado, let’s look at the PHP usage statistics.
According to trends.builtwith, PHP is powering over 34,000,000 live sites on the internet, and out of them over 50% of websites are in the top 1 million sites. PHP has also been conferred as a mega technology by Builtwith. Another report by W3techs says that PHP is used by 79.1% of all the sites whose server-side programming language is known. In other words, we can say that on the internet, 8 out of 10 websites are using PHP in some way or other. From this, you can clearly draw out an inference that PHP is still a major player on the internet and is not going anywhere anytime soon.
So, why there is an uproar on the internet for PHP death
PHP is targeted by the naysayers on the internet for being not scalable and slow. However, both the claims are baseless and far from reality. Let’s look at them.
Rumor 1: PHP is not scalable
WordPress, the king of content management systems, is using PHP. This robust and scalable platform is powering 40% of the web including some popular websites including TechCrunch, The Washington Post, Sony Music, and Time INc. Apart from WordPress, there are many other popular sites built on PHP such as Facebook, Wikipedia, Pinterest, Etsy, etc. These websites receive millions of visitors daily. So, the claim that is made by naysayers that PHP isn’t scalable is clearly baseless.
Rumor 2: PHP is slow
Again, this claim is also not legit.
PHP is becoming faster with every new release. Kinsta, a popular managed WordPress hosting provider performed PHP benchmark tests and found that PHP 7.X is almost two-three times faster than its previous iterations, particularly PHP 5.6. Besides performance enhancement, PHP 7.X versions come with a host of new improvements for web developers, including:
Null coalesce operator
Iterable and void returns
Multi-catch exception handling
HTTP/2 server push
The demise of PHP is just a rumor that is surfacing on the internet by those who don’t like PHP. If someone doesn’t PHP that doesn’t mean it is dead. In the end, we would like to conclude that PHP is not dying despite all the chatter over the internet. In fact, it is evolving incessantly and becoming better and stronger than ever before.