$group = posix_getgrnam("users"); print_r($group);
Array ( [name] => users [passwd] => [gid] => 100 [members] => Array ( [0] => alice [1] => bob [2] => charlie [3] => david ) )
$group = posix_getgrgid(100); print_r($group);This code will retrieve information about the group with GID 100 (which in this example, is the `users` group), and print it out using `print_r()`. The output will be similar to the previous example. Again, we are using the `posix` package library to access this function.