Home>Article>Backend Development> what is php?
What is php?
PHP is "Hypertext Preprocessor" and is a general open source scripting language.PHP is a scripting language executed on the server side. It is similar to C language and is a commonly used website programming language. PHP's unique syntax mixes C, Java, Perl, and PHP's own syntax. It is conducive to learning and widely used. It is mainly suitable for the field of web development.
Advantages:
(1) Popular and easy to use
PHP is The most popular programming language at the moment, no doubt about it. It drives more than 200 million websites around the world, and more than 81.7% of the world's public websites use PHP on the server side. PHP's commonly used data structures are all built-in. It is convenient and simple to use, not complicated at all, and its expression ability is quite flexible.
(2) There are many development positions
In server-side website programming, PHP will more easily help you find a job. Many Internet-related companies are using the PHP development framework, so it can be said that the market demand for PHP development programmers is still relatively large.
(3) Still developing
PHP is constantly compatible with technologies such as closures and namespaces, while taking into account performance and currently popular frameworks. After version 7, it has been providing higher performance applications.
(4) Strong implantability
During the patch vulnerability upgrade process of PHP language, the core part of the PHP language is easy to implement and fast to implant.
(5) Strong scalability
During the database application process, the PHP language can retrieve various types of data from the database and has high execution efficiency.
Disadvantages:
(1) PHP’s interpretation and operation mechanism
In PHP, all variables are page-level, whether global Variables, or static members of the class, will be cleared after the page is executed.
(2) Design flaws and lack of attention PHP is called an opaque language because there is no stack trace and various fragile inputs. There is no clear design philosophy. Early PHP was influenced by Perl, the standard library with out parameters was introduced from the C language, and the object-oriented part was learned from C and Java.
(3) Poor support for recursion
PHP is not good at recursion. The limit on the number of recursive functions it can tolerate is significantly smaller than that of other languages.
For more related knowledge, please visitPHP Chinese website! !
The above is the detailed content of what is php?. For more information, please follow other related articles on the PHP Chinese website!