1--TEST--
2Test posix_getpwuid() function : error conditions
3--EXTENSIONS--
4posix
5--SKIPIF--
6<?php
7if (getenv('SKIP_ASAN')) die('skip LSan crashes when firebird is loaded');
8?>
9--FILE--
10<?php
11echo "*** Testing posix_getpwuid() : error conditions ***\n";
12
13echo "\n-- Testing posix_getpwuid() function negative uid --\n";
14$uid = -99;
15var_dump( posix_getpwuid($uid) );
16
17echo "Done";
18?>
19--EXPECT--
20*** Testing posix_getpwuid() : error conditions ***
21
22-- Testing posix_getpwuid() function negative uid --
23bool(false)
24Done
25