xref: /PHP-8.0/ext/posix/tests/bug75696.phpt (revision a555cc0b)
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--EXPECT--
15bool(true)
16