summaryrefslogtreecommitdiff
path: root/ext/standard/tests/general_functions/php_uname_error.phpt
blob: 2f65ed587d36cc803741ee2672538cbd37a8441c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--TEST--
Test php_uname() function -  error conditions - pass function incorrect arguments
--FILE--
<?php

echo "*** Testing php_uname() - error test\n";

echo "\n-- Testing php_uname() function with invalid mode --\n";
// am invalid mode should result in same o/p as mode 'a'
var_dump( php_uname('z') == php_uname('z') );

?>
--EXPECT--
*** Testing php_uname() - error test

-- Testing php_uname() function with invalid mode --
bool(true)