bool posix_setegid ( int $gid )
Set the effective group ID of the current process. This is a privileged function and needs appropriate privileges (usually root) on the system to be able to perform this function.
Returns TRUE on success or FALSE on failure.