Search Results
When posix_getgrgid() fails (e.g. an invalid/unknown group id), it returns false. This is except for Mac OSX on which you get an array with name "nogroup" and gid of "-1".
posix_getgrgid (PHP 4, PHP 5, PHP 7) posix_getgrgid — Return info about a group by group id Description posix_getgrgid ( int $gid ) : array Gets information about a group provided its id.
PHP 4, PHP 5, PHP 7, PHP 8 posix_getgrgid - Return info about a group by group id Manual Code Examples
PHP Editor Review - Php Manual Function posix-getgrgid : PHP Developer, PHP Editors and PHP IDE list, biggest Php Editor and IDE list on the net. All Php Editors and IDEs are fully reviewed.
See Also posix_getegid () - Return the effective group ID of the current process posix_getgrnam () - Return info about a group by name filegroup () - Gets file group stat () - Gives information about a file safe_mode_gid POSIX man page GETGRNAM (3)
Description The posix_getgrgid of POSIX for PHP returns information about a group by group id.
posix_getgid posix_getgrnam POSIX PHP Manual posix_getgrgid (PHP 4, 5) — Return info about a group by id Description array ( int $gid ) Gets information provided its id.
