(PHP 4 >= 4.1.0, PHP 5)
getmygid — 获取当前 PHP 脚本拥有者的 GID
获取当前 PHP 脚本拥有者的用户组 ID。
返回当前 PHP 脚本拥有者的用户组 ID,或在错误时返回 FALSE
。
(2006-05-07 10:04:23)
To clarify, the getmygid() function gets the gid of the PHP script, that is the gid of the file.
To get the effective gid of the running PHP engine, use the posix_getegid() function.