xref: /PHP-7.1/ext/posix/tests/bug75696.phpt (revision 2677d438)
1--TEST--
2Bug #75696 (posix_getgrnam fails to print details of group)
3--SKIPIF--
4<?php
5if (!extension_loaded('posix')) die('skip posix extension not available');
6?>
7--FILE--
8<?php
9$gid = posix_getgid();
10$name = posix_getgrgid($gid)['name'];
11$info = posix_getgrnam($name);
12var_dump(is_array($info));
13?>
14===DONE===
15--EXPECT--
16bool(true)
17===DONE===
18