(PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8)
getmygid — Get PHP script owner's GID
getmygid(): int|false
Gets the group ID of the current script.
This function has no parameters.
Returns the group ID of the current script, or false on error.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.getmygid.php