posix_getgroups

(PHP 3>= 3.0.10, PHP 4 , PHP 5)

posix_getgroups --  Return the group set of the current process

Description

array posix_getgroups ( void )

Returns an array of integers containing the numeric group ids of the group set of the current process. See also posix_getgrgid() for information on how to convert this into useable group names.