As a server side scripting language, PHP is the most widely used language across the web. At the same time, it is one of the most hated languages by developers. Over the last few years, we’ve seen an increasing fragmentation of server side languages being used, especially with websites adopting Node.js. Despite this, PHP has remained one of the most popular server side programming languages – and there’s a reason for that.
The bottom line is choosing a server side language is a solution to a specific problem. PHP serves as this solution for a multitude of applications on the web. Sure, the language itself has downsides, just as any programming language does. The fact remains, PHP will continue to be one of the driving forces on the web.