posix_getgroups
PHP 4, PHP 5, PHP 7, PHP 8
posix_getgroups - Return the group set of the current process
Manual
posix_getgroups(
): array|false
Gets the group set of the current process.
Parameters
This function has no parameters.
Return Values
Returns an array of integers containing the numeric group ids of the group set of the current process, or false on failure.