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.

參見

add a note add a note

User Contributed Notes 1 note

up
-1
chris at ocproducts dot com
4 years ago
On Windows this will always return 0, except when "php -r" is used, when it returns 1.
To Top