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