1--TEST-- 2Test posix_getgrgid() 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_getgrgid() : error conditions ***\n"; 10 11echo "\n-- Testing posix_getgrgid() function with a negative group id --\n"; 12$gid = -999; 13var_dump( posix_getgrgid($gid)); 14 15echo "Done"; 16?> 17--EXPECT-- 18*** Testing posix_getgrgid() : error conditions *** 19 20-- Testing posix_getgrgid() function with a negative group id -- 21bool(false) 22Done 23