Home > Article > Backend Development > What is API in PHP?
API's full name is Application Programming Interface, which is called application programming interface in Chinese and refers to some predefined functions.
API is a calling interface left by the operating system to the application program. The application program calls the operating system's API to cause the operating system to execute the application program's commands (actions).
PHP API is some PHP function libraries integrated into the PHP development platform. To put it bluntly, it is a bunch of things written for you to use to help you quickly develop PHP programs.
The purpose is to provide applications and developers with the ability to access a set of routines based on a piece of software or hardware without having to access the source code or understand the details of the inner workings.
api under different systems:
1. Windows API
User interface of the operating system
API The function is included in the dynamic link library file in the Windows system directory.
The Windows API is a set of predefined Windows functions used to control the appearance and behavior of various components of Windows.
Any application executed under the Windows working environment can call Windows API.
2. Linux API
In Linux, the user programming interface API follows the most popular application programming interface standard in UNIX---POSIX standard.
For more PHP related knowledge, please visit PHP Chinese website!
The above is the detailed content of What is API in PHP?. For more information, please follow other related articles on the PHP Chinese website!