1--TEST--
2Test posix_uname() function : basic functionality
3--SKIPIF--
4<?php
5    if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
6?>
7--FILE--
8<?php
9  echo "Basic test of POSIX uname function\n";
10
11  $uname = posix_uname();
12  unset($uname['domainname']);
13  print_r($uname);
14
15?>
16===DONE====
17--EXPECTF--
18Basic test of POSIX uname function
19Array
20(
21    [sysname] => %s
22    [nodename] => %s
23    [release] => %s
24    [version] => %s
25    [machine] => %s
26)
27===DONE====
28
29