PHP » GoLang |
login |
register |
about
|
|
posix_getgrgid(PHP 4, PHP 5, PHP 7) posix_getgrgid — Return info about a group by group id Description
array posix_getgrgid
( int
$gid
)Gets information about a group provided its id. Parameters
Return ValuesThe array elements returned are:
Examples
Example #1 Example use of posix_getgrgid()
<?phpThe above example will output something similar to:
Array
(
[name] => toons
[passwd] => x
[members] => Array
(
[0] => tom
[1] => jerry
)
[gid] => 42
)
See Also
|
more
Most requested
|