Script is called Script in English. It is an extension of a batch file and a program saved in plain text. Generally speaking, a computer script program is a combination of a certain series of actions that control the computer to perform calculation operations. Certain logical branches can be implemented in it.
#In fact, a script is a program, usually a programming language provided by an application. Applications include browsers (javascript, VBScript), multimedia creation tools, application macros and batch processing languages of the creation system can also be classified as scripts. (Recommended learning: PHP programming from entry to proficiency)
The main differences between scripts and the VB and C languages we usually use are:
1. The script syntax is relatively simple and easy to master.
2. The script is closely related to the application, so it includes functions relative to the application itself.
3. Scripts are generally not versatile and can handle a limited range of problems.
Scripts can usually be called and executed temporarily by applications. Various types of scripts are widely used in web design, because scripts can not only reduce the size of web pages and improve web browsing speed, but also enrich the performance of web pages, such as animations, sounds, etc.
When developing applications using scripting languages, source code files are generally provided or exposed. Because scripts are interpreted runtime languages, applications can only be generated at runtime, and the environment the script is based on is not generated at runtime. Executable file or runtime file.
Of course, there are also some tools that can package or convert our script files into executable files, so that when we provide others with them, they may be separated from the executable environment of the script, but directly on the system. Run directly.
Scripts have a strong dependence on the environment. One is to use the environment to convert it into machine code, and the other is to use the built-in API of the environment. Anyone who has written PHP knows that many functions in PHP are in the PHP environment, and the script runs a large number of resources from its own integrated environment itself.
The above is the detailed content of what does php script mean. For more information, please follow other related articles on the PHP Chinese website!