Home >Backend Development >PHP Problem >What kind of scripting language is php?
PHP is a simple, object-oriented, interpreted, robust, secure, very high-performance, architecture-independent, portable, and dynamic scripting language.
PHP has a Class keyword similar to JAVA. Because it does not require a virtual machine, it is 5 times faster than JAVA.
PHP is quickly becoming a standard, general-purpose, object-oriented scripting language. PHP can be used not only to develop web applications but also general applications.
PHP is a powerful scripting language. (Recommended learning: PHP programming from entry to proficiency)
PHP will defeat PERL/Python and replace it. PHP is the next generation of PERL/Python scripting. PHP can do any job that PERL/Python does, and do it more, better, and more concisely!
PHP can be used not only to develop web applications, but also to develop ordinary applications. PHP is a weakly typed language
PHP, which is the abbreviation of the English hypertext preprocessing language Hypertext Preprocessor. PHP is an HTML embedded language. It is a scripting language that is embedded in HTML documents and is executed on the server side. The language style is similar to C language and is widely used.
PHP's unique syntax mixes C, Java, Perl and PHP's own syntax. PHP installation can execute dynamic web pages faster than CGI or Perl. Compared with other programming languages, dynamic pages made with PHP embed programs into HTML documents for execution, and the execution efficiency is much higher than CGI that completely generates HTML tags; PHP can also execute compiled code, and the compilation can Achieve encryption and optimize code running, making the code run faster.
Websites that use PHP such as Sina (sina), Chinaren (Chinaren), etc., but due to some shortcomings of PHP itself, it is not suitable for large-scale e-commerce sites, but is more suitable for some small-scale e-commerce sites. Commercial site.
First of all, PHP lacks scale support. Secondly, there is a lack of multi-layer structural support. For heavy-load sites, there is only one solution: distributed computing. The database, application logic layer, and presentation logic layer are separated from each other, and the same layer can also be separated according to traffic and grouped into a two-dimensional array.
PHP lacks this support. As mentioned above, the database interface support provided by PHP is not uniform, which makes it unsuitable for use in e-commerce.
The above is the detailed content of What kind of scripting language is php?. For more information, please follow other related articles on the PHP Chinese website!