September 2001
Intermediate to advanced
768 pages
32h 45m
English
string php_sapi_name(void)
Obtains the SAPI interface type.
Returns:
Current PHP SAPI interface
Description:
Returns the name of the interface between PHP and the web server on which PHP is running. If PHP is running as a CGI, this function returns the string 'cgi'.
Version:
Existing since version 4.0.1
Example:
echo php_sapi_name; |
Read now
Unlock full access