Function

php_sapi_name

Synopsis

php_sapi_name(): string

Area
Runtime\PS\Core\Lang\php_sapi_nameareas

Description

php_sapi_name returns the name of the SAPI the script runs under, such as "cli".

Usage

$value = php_sapi_name($arguments);
$fn = php_sapi_name(...);

See also