posix_getgroups

PHP 4, PHP 5, PHP 7, PHP 8
posix_getgroups - Return the group set of the current process
Manual
Code Examples

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.

Related Functions

Example of posix_getgroups

Show all examples for posix_getgroups

PHP Version: