php_sapi_name

PHP 4 >= 4.0.1, PHP 5, PHP 7, PHP 8
php_sapi_name - Returns the type of interface between web server and PHP
Manual
Code Examples

Example #1 php_sapi_name example

PHP Version: