PHP 选项/信息 函数
在线手册:中文 英文
PHP手册

getmygid

(PHP 4 >= 4.1.0, PHP 5)

getmygidGet PHP script owner's GID

说明

int getmygid ( void )

Gets the group ID of the current script.

返回值

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

参见


PHP 选项/信息 函数
在线手册:中文 英文
PHP手册
PHP手册 - N: Get PHP script owner's GID

用户评论:

(07-May-2006 06:04)

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.