Search Results
Return the group set of the current process
(PHP 3>= 3.0.10, PHP 4 ) posix_getgroups -- Return 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, or false on failure.
PHP Manual Function Reference Process Control Extensions POSIX POSIX Functions posix_getgrnam posix_getlogin posix_getgroups (PHP 4, PHP 5)
Execute posix_getgroups Online. Info and examples on posix_getgroups PHP Function from POSIX - Process Control Extensions
Simple usage example of `posix_getgroups ()`. The posix_getgroups function in PHP is used to retrieve the group set of the current process. It returns an array containing the group IDs (GIDs) of all the groups that the user running the current PHP process belongs to.
Return Values Returns an array of integers containing the numeric group ids of the group set of the current process, or false on failure.
