Home > Article > Backend Development > Is php a high-level language?
Computer languages are divided into high-level languages and low-level languages. High-level language is mainly relative to assembly language. It is programming that is closer to natural language and mathematical formulas. It is basically separated from the hardware system of the machine and writes programs in a way that is easier for people to understand. The program written is called the source program.
High-level language is a programming language based on daily human language, expressed in words that are easy for ordinary people to accept (such as Chinese characters, irregular English or other foreign languages) , which makes it easier for programmers to write and has higher readability, so that people with less computer knowledge can roughly understand its content.
Generally, the higher-level language is simpler, and has poorer control over the underlying layer, and the lower the efficiency; the lower-level language is more complex, the better the control over the underlying layer, and the higher the efficiency; the lowest level is the machine Coded.
So is php a high-level language?
PHP is a high-level language.
High-level language does not refer to a specific language, but includes many programming languages, such as popular java, c, c, C#, php, pascal, python, lisp, prolog, FoxPro, Yi Language, etc. The syntax and command formats of these languages are different.
The abstraction of programming language from machine language to high-level language brings the main benefits:
High-level language is close to algorithm language, easy to learn and master, and is suitable for general engineering Technical personnel can be competent as programmers after only a few weeks of training;
High-level languages provide programmers with a structured programming environment and tools, making the designed programs readable and maintainable Strong flexibility and high reliability;
High-level languages are far away from machine languages and have little to do with specific computer hardware, so the programs written have good portability and high reuse rate;
Because The complicated and trivial matters are handed over to the compiler, so the degree of automation is high, the development cycle is short, and programmers are relieved and can concentrate their time and energy on creative work that is more important to them to improve the efficiency of the program. quality.
For more PHP related knowledge, please visit php中文网!
The above is the detailed content of Is php a high-level language?. For more information, please follow other related articles on the PHP Chinese website!