1--TEST--
2Test posix_getpgid() function : error conditions
3--EXTENSIONS--
4posix
5--SKIPIF--
6<?php
7if (!function_exists("posix_getpgid")) {
8     print "skip - posix_getpgid() does not exist";
9}
10?>
11--FILE--
12<?php
13echo "*** Testing posix_getpgid() : error conditions ***\n";
14
15echo "\n-- Testing posix_getpgid() with negative pid  --\n";
16$pid = -99;
17var_dump( posix_getpgid($pid) );
18
19echo "Done";
20?>
21--EXPECT--
22*** Testing posix_getpgid() : error conditions ***
23
24-- Testing posix_getpgid() with negative pid  --
25bool(false)
26Done
27