To be frank many programmers don't think that PHP is the most popular programming language in web Industry, but still it has much more hold in the market as compared to its competitors present today and the reasons are,
Easy to Learn
The concepts used in this language are easy to learn and recognize, most of its concept resembles us of most popular and widely used industrial language called C and C++ that’s why anyone can easily adjust itself with this language. Even many persons or students from non-technical fields can easily learn and achieve expertise in this language.
There are two types of languages available in market, one is server side and another is client side. PHP is server-side language and that’s why it has vast reach on internet as the websites like Facebook, Flipkart, Amazon which are made in PHP can be access from anywhere in the world without depending on our machine as it stores our password on server and our data are also stored online on session basis which doesn’t require cookies.
Open source languages are those languages which can be accessed and improved by anyone who wants to make language better for future use. This things result in rapid web development of languages as compared to non-open source or commercial languages. This is the main reason why PHP has many numbers of plugins as compared to other languages available in market.
It is cost-effective (almost free)
PHP is easy to install and is free of cost this means that there is no software cost update cost renewal cost means it's free to use and that makes our project cost effective and affordable to most of clients in India who are running humble business and willing to make it big by making smart use of their limited amount of money. The additional advantage is that this is platform independent means PHP can run on red hat, Linux, UNIX also and this makes it available for using as a web hosting server.
Difficult to hack and attack (by hackers)
As we all know most of the viruses and malware etc are majority made for windows OS and this makes operating system like red hat, Linux more secure than windows. The same way is PHP is considered as more secure language as compared to its competitors, besides this PHP is made mostly by keeping hosting things in mind which made it difficult to manipulate for hacking purposes.
Get help easily
With a decent or no knowledge of PHP you can still made a good quality of website or output out it PHP just by searching or surfing for most suitable code available on internet. Luckily, there are tons of freely available codes on net this makes it easy for PHP professionals to solve their queries easily and with variety of methods.