Add warnings to use php_sapi_name()
to test when running as CLI
#10021
Loading
php_sapi_name()
to test when running as CLI
#10021