mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
26 lines
408 B
PHP
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====
|
|
|