PHP is a simple, object-oriented, interpreted, robust, safe, very high-performance, architecture-independent, and portable , a dynamic scripting language.
PHP syntax absorbs the characteristics of C language, Java and Perl, which is easy to learn and widely used. It is mainly suitable for the field of Web development. It can execute dynamic web pages faster than CGI or Perl.
Compared with other programming languages, dynamic pages made with PHP embed the program into the HTML (an application under the standard universal markup language) document for execution, and the execution efficiency is higher than that of completely generating HTML tags. CGI is much higher; PHP can also execute compiled code. Compilation can achieve encryption and optimize code running, making the code run faster.
The features of PHP include:
1. PHP’s unique syntax mixes C, Java, Perl and PHP’s own innovative syntax.
2. PHP can execute dynamic web pages faster than CGI or Perl - in terms of dynamic pages, compared with other programming languages, PHP embeds programs into HTML documents for execution, and the execution efficiency is higher than that of complete The CGI that generates HTML tags is much higher; PHP has very powerful functions, and all CGI functions can be realized by PHP.
3. PHP supports almost all popular databases and operating systems.
4. The most important thing is that PHP can use C and C to expand the program!
Recommended related PHP video tutorials: "PHP Video Tutorial"
The above is the detailed content of What language is php?. For more information, please follow other related articles on the PHP Chinese website!