php_sapi_name
symfony/var-dumper
Supported Versions: PHP 4 >= 4.0.1, PHP 5, PHP 7, PHP 8
Returns the type of interface between web server and PHP
<?php php_sapi_name
():
string
|
false