posix_getgrnam

PHP 4, PHP 5, PHP 7, PHP 8
posix_getgrnam - Return info about a group by name
Manual
Code Examples

Example #1 Example use of posix_getgrnam

Result: Array ( [name] => toons [passwd] => x [members] => Array ( [0] => tom [1] => jerry ) [gid] => 42 )
PHP Version: