getmygid

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

getmygidGet PHP script owner's GID

Description

function 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