posix_getgroups

posix_getgroups

(PHP 4, PHP 5, PHP 7)

posix_getgroupsReturn the group set of the current process

Description

array posix_getgroups ( void )

Gets the group set of the current process.

Return Values

Returns an array of integers containing the numeric group ids of the group set of the current process.

Examples