advantages of php

PHP
PHP is simple and easy to learn language.
PHP is an open-source scripting language.
PHP can be embedded into HTML.
PHP is a loosely typed language.
PHP is an object-oriented language.
PHP is an interpreted language, i.e., there is no need for compilation.
PHP is faster than other scripting languages, for example, ASP and JSP.
PHP is a server-side scripting language, which is used to manage the dynamic content of the website.
PHP runs on various platforms (Windows, Linux, Unix, Mac OS X, etc.)
PHP is compatible with almost all servers used today (Apache, IIS, etc.)
PHP supports a wide range of databases like MySQL, PostgreSQL, Oracle, Sybase, Informix, and Microsoft SQL Server.
PHP supports a large number of major protocols such as HTTP, POP3, IMAP, and LDAP etc.
PHP is a secure language to develop the website. It helps to prevent malicious attacks like XSS, XSRF/CSRF, SQL Injection and Session hijacking.
PHP has a large community of developers who regularly updates documentation, tutorials, online help, and FAQs. Learning PHP from the communities is one of the significant benefits.
PHP is also stable as compared to other programming languages. It has been in existence for a long time. They have fixed the issues and bugs over the period of time for the different version of PHP and make it very stable.
Source

Also in PHP: