php / 8.1.5 / function.getmygid.html /

getmygid

(PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8)

getmygidGet PHP script owner's GID

Description

getmygid(): int|false

Gets the group ID of the current script.

Parameters

This function has no parameters.

Return Values

Returns the group ID of the current script, or false on error.

See Also

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.getmygid.php