dis-bench / src /php /php-src /ext /posix /tests /posix_getgrgid_basic.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
400 Bytes
--TEST--
Test posix_getgrgid() function : basic functionality
--EXTENSIONS--
posix
--FILE--
<?php
echo "Basic test of POSIX getgid and getgrid functions\n";
$gid = posix_getgid();
$groupinfo = posix_getgrgid($gid);
print_r($groupinfo);
?>
--EXPECTF--
Basic test of POSIX getgid and getgrid functions
Array
(
[name] => %s
[passwd] => %A
[members] => Array
%a
[gid] => %d
)