Searched refs:php_uname (Results 1 – 13 of 13) sorted by relevance
2 Test php_uname() function - basic test6 echo "*** Testing php_uname() - basic test\n";8 var_dump(php_uname());12 var_dump(php_uname('a'));13 var_dump(php_uname('s'));14 var_dump(php_uname('n'));15 var_dump(php_uname('r'));16 var_dump(php_uname('v'));17 var_dump(php_uname('m'));21 *** Testing php_uname() - basic test
2 php_uname(): Invalid arguments7 var_dump(php_uname(''));12 var_dump(php_uname('test'));17 var_dump(php_uname('z'));24 ValueError: php_uname(): Argument #1 ($mode) must be a single character25 ValueError: php_uname(): Argument #1 ($mode) must be a single character26 ValueError: php_uname(): Argument #1 ($mode) must be one of "a", "m", "n", "r", "s", or "v"
17 $expectedMaxSize = match(php_uname('s')) {18 'Darwin' => match(php_uname('m')) {22 'FreeBSD' => match(php_uname('m')) {
655 char *php_uname; in php_get_uname() local670 php_uname = "Windows NT"; in php_get_uname()674 php_uname = ComputerName; in php_get_uname()686 php_uname = tmp_uname; in php_get_uname()713 php_uname = PHP_UNAME; in php_get_uname()716 php_uname = buf.sysname; in php_get_uname()718 php_uname = buf.release; in php_get_uname()730 php_uname = PHP_UNAME; in php_get_uname()733 return zend_string_init(php_uname, strlen(php_uname), 0); in php_get_uname()763 zend_string *php_uname; in php_print_info() local[all …]
3077 function php_uname(string $mode = "a"): string {}
2700 ZEND_FUNCTION(php_uname);
8 $arch = php_uname('m');
9 } elseif (strtolower(php_uname('s')) == 'darwin') {
7 $arch = php_uname('m');
16 if(stripos(php_uname(), 'XP') !== FALSE) {
120 Fix GH-7815: php_uname doesn't recognise latest Windows versions
727 'SERVER_NAME' => php_uname('n'),
Completed in 36 milliseconds