downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

getmyinode> <getlastmod
[edit] Last updated: Fri, 17 May 2013

view this page in

getmygid

(PHP 4 >= 4.1.0, PHP 5)

getmygid获取当前 PHP 脚本拥有者的 GID

说明

int getmygid ( void )

获取当前 PHP 脚本拥有者的用户组 ID。

返回值

返回当前 PHP 脚本拥有者的用户组 ID,或在错误时返回 FALSE

参见



add a note add a note User Contributed Notes getmygid - [1 notes]
up
-1
Anonymous
7 years ago
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.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites