What is the php language?
PHP is a server-based scripting language for creating dynamic websites. You can use PHP and HTML to generate the website homepage.
When a visitor opens the homepage, the server executes the PHP command and sends the execution results to the visitor's browser. This is similar to ASP and CoildFusion. However, the difference between PHP and them is that PHP Open source and cross-platform, PHP can run on WINDOWS NT and multiple versions of UNIX.
It does not require any pre-processing and provides fast feedback results, and it does not require mod_perl adjustments to reduce the memory image of your server. PHP consumes fewer resources. When PHP is used as part of the Apache web server, there is no need to call external binaries to run the code, and the server does not need to bear any additional burden.
1. PHP is open source and free, and there are no paid projects. You can modify its kernel at will and use it for your own commercial use.
2. PHP development components are rich (for novices, a bunch of IDEs are enough to make it difficult to choose)
3. The community is mature, and more than 85% of the problems can be found in the community. solution ideas.
4. The cost of learning PHP is low. If you want to learn a certain language, you need a three-piece set. The results are quick, you can basically get started after just one month of learning
5. Rich open source libraries, basically all types of open source products are available
6. PHP7.0 is basically as good as any other language~! This is the key point
7. Nearly perfect support for MySQL
8. Easy to find a job
9. Even Facebook is using php, why don’t you use it
Before learning PHP, let us get to know PHP and its functions.
1. Running on the server side: Once you learn PHP, you can command the server to do work for you, or even cause damage^_^ (Never do this for real), WEB Most of the data on the website is stored on the server side, and PHP is used to process the data stored on the server (it is powerful, right).
2. Cross-platform: The server can be a server on multiple platforms, such as Linux, Windows, and Unix. You can command them all (don’t be afraid that you can only command one kind of server).
3. Scripting language: It instructs the server to work by writing scripts, which are lines of computer instructions (which can also be understood as specific English words). Therefore, the process of writing PHP is actually It is the process of communicating with foreigners (the server becomes a foreigner), and the language of communication is PHP.
4. Free: Free to use (there really is a free lunch in the world).
What can php do?
Website backend, App backend, WeChat public account backend, game backend, PC client backend, Linux script task...
The above is the detailed content of What exactly is the php language? What can be done?. For more information, please follow other related articles on the PHP Chinese website!