Searched refs:php_sapi_name (Results 1 – 25 of 32) sorted by relevance
12
2 php_sapi_name test6 var_dump(php_sapi_name());
2 php_sapi_name() function when switching to webserver by using post11 echo php_sapi_name();
6 if (!in_array(php_sapi_name(), $enabled_sapi)) {7 die('skip dl() is not enabled for ' . php_sapi_name());
5 if ("cli" != php_sapi_name()) {
6 if (php_sapi_name() != "cli") die('skip CLI only test');
5 if (php_sapi_name() != "cli") {
12 return isset($undef) || php_sapi_name() == php_sapi_name();
3 if (php_sapi_name() != "cli") {
3 if (substr(php_sapi_name(), 0, 3) == "cgi") {
4 if (php_sapi_name() != "cli") {
2 $br = (php_sapi_name() == "cli")? "":"<br>";
5 if (php_sapi_name() != "cli") die("skip CLI only");
4 <?php if(php_sapi_name()!='cli') echo 'skip'; ?>
8 <?php if (!extension_loaded('Zend OPcache') || php_sapi_name() != "cli") die("skip CLI only"); ?>
10 <?php if (php_sapi_name() != "cli") die("skip CLI only"); ?>
6 <?php if (!extension_loaded('Zend OPcache') || php_sapi_name() != "cli") die("skip CLI only"); ?>
21 assert(($variable && $variable) || php_sapi_name(), new OdEar("constant message"));
60 PHP_FUNCTION(php_sapi_name);
6 (php_sapi_name()=='cgi') or die("skip sapi is not a cgi version");
6 if(php_sapi_name() != "cli") die('skip CLI only test');
Completed in 33 milliseconds