1--TEST--
2Test posix_getgrgid() function : basic functionality
3--EXTENSIONS--
4posix
5--FILE--
6<?php
7  echo "Basic test of POSIX getgid and getgrid functions\n";
8
9  $gid = posix_getgid();
10  $groupinfo = posix_getgrgid($gid);
11
12  print_r($groupinfo);
13
14?>
15--EXPECTF--
16Basic test of POSIX getgid and getgrid functions
17Array
18(
19    [name] => %s
20    [passwd] => %A
21    [members] => Array
22%a
23
24    [gid] => %d
25)
26