php-src/ext/posix/tests/posix_uname_basic.phpt
Nikita Popov 7485978339
Migrate SKIPIF -> EXTENSIONS (#7138)
This is an automated migration of most SKIPIF extension_loaded checks.
2021-06-11 11:57:42 +02:00

26 lines
408 B
PHP

--TEST--
Test posix_uname() function : basic functionality
--EXTENSIONS--
posix
--FILE--
<?php
echo "Basic test of POSIX uname function\n";
$uname = posix_uname();
unset($uname['domainname']);
print_r($uname);
?>
===DONE====
--EXPECTF--
Basic test of POSIX uname function
Array
(
[sysname] => %s
[nodename] => %s
[release] => %s
[version] => %s
[machine] => %s
)
===DONE====