Home
last modified time | relevance | path

Searched refs:php_uname (Results 1 – 15 of 15) sorted by relevance

/PHP-8.4/ext/standard/tests/general_functions/
H A Dphp_uname_basic.phpt2 Test php_uname() function - basic test
6 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
H A Dphp_uname_error.phpt2 php_uname(): Invalid arguments
7 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 character
25 ValueError: php_uname(): Argument #1 ($mode) must be a single character
26 ValueError: php_uname(): Argument #1 ($mode) must be one of "a", "m", "n", "r", "s", or "v"
/PHP-8.4/Zend/tests/stack_limit/
H A Dstack_limit_010.phpt17 $expectedMaxSize = match(php_uname('s')) {
18 'Darwin' => match(php_uname('m')) {
22 'FreeBSD' => match(php_uname('m')) {
/PHP-8.4/ext/standard/
H A Dinfo.c655 char *php_uname; in php_get_uname() local
670 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 …]
H A Dbasic_functions.stub.php3077 function php_uname(string $mode = "a"): string {}
H A Dbasic_functions_arginfo.h2700 ZEND_FUNCTION(php_uname);
/PHP-8.4/ext/intl/tests/
H A Dtimezone_getErrorCodeMessage_basic.phpt8 $arch = php_uname('m');
H A Dtimezone_getOffset_error.phpt8 $arch = php_uname('m');
/PHP-8.4/tests/lang/
H A Dbug30638.phpt9 } elseif (strtolower(php_uname('s')) == 'darwin') {
/PHP-8.4/ext/sockets/tests/
H A Dsocket_sendto_zerocopy.phpt7 $arch = php_uname('m');
/PHP-8.4/ext/standard/tests/file/windows_acls/
H A Dcommon.inc16 if(stripos(php_uname(), 'XP') !== FALSE) {
/PHP-8.4/
H A DREADME.md120 Fix GH-7815: php_uname doesn't recognise latest Windows versions
H A DNEWS605 . php_uname() now throws ValueErrors on invalid inputs. (Girgias)
H A DUPGRADING125 . php_uname() now throws ValueErrors if the $move parameter is invalid.
/PHP-8.4/sapi/fpm/tests/
H A Dtester.inc727 'SERVER_NAME' => php_uname('n'),

Completed in 46 milliseconds