1--TEST--
2Test php_uname() function - basic test
3--FILE--
4<?php
5/* Prototype: string php_uname  ([ string $mode  ] )
6 * Description:  Returns information about the operating system PHP is running on
7*/
8
9echo "*** Testing php_uname() - basic test\n";
10
11var_dump(php_uname());
12
13echo "\n-- Try all the defined mode's --\n";
14
15var_dump(php_uname('a'));
16var_dump(php_uname('s'));
17var_dump(php_uname('n'));
18var_dump(php_uname('r'));
19var_dump(php_uname('v'));
20var_dump(php_uname('m'));
21
22?>
23===DONE===
24--EXPECTF--
25*** Testing php_uname() - basic test
26string(%d) "%s"
27
28-- Try all the defined mode's --
29string(%d) "%s"
30string(%d) "%s"
31string(%d) "%s"
32string(%d) "%s"
33string(%d) "%s"
34string(%d) "%s"
35===DONE===
36