Home >Backend Development >PHP Problem >What language is PHP?
PHP (foreign name: PHP: Hypertext Preprocessor, Chinese name: "Hypertext Preprocessor") is a general open source, simple, object-oriented, interpreted, robust, safe, and very performant A high-performance, architecture-independent, portable, 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. PHP's unique syntax mixes C, Java, Perl, and PHP's own syntax. 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.
PHP can be used not only to develop web applications, but also to develop ordinary applications.
The above is the detailed content of What language is PHP?. For more information, please follow other related articles on the PHP Chinese website!