posix_getegid

PHP 4, PHP 5, PHP 7, PHP 8
posix_getegid - Return the effective group ID of the current process
Manual
Code Examples

posix_getegid( ): int

Return the numeric effective group ID of the current process.

Parameters

This function has no parameters.

Return Values

Returns an int of the effective group ID.

Notes

posix_getegid is different than posix_getgid because effective group ID can be changed by a calling process using posix_setegid.

Related Functions

Example of posix_getegid

Show all examples for posix_getegid

PHP Version: