1--TEST--
2Test posix_getpwuid() function : error conditions
3--SKIPIF--
4<?php
5    if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
6?>
7--FILE--
8<?php
9echo "*** Testing posix_getpwuid() : error conditions ***\n";
10
11echo "\n-- Testing posix_getpwuid() function negative uid --\n";
12$uid = -99;
13var_dump( posix_getpwuid($uid) );
14
15echo "Done";
16?>
17--EXPECT--
18*** Testing posix_getpwuid() : error conditions ***
19
20-- Testing posix_getpwuid() function negative uid --
21bool(false)
22Done
23