PHP 8.5.0 Released!

getmygid

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

getmygidGet PHP script owner's GID

Description

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

Found A Problem?

Learn How To Improve This PageSubmit a Pull RequestReport a Bug
+add a note

User Contributed Notes 1 note

up
0
chris at ocproducts dot com
5 years ago
On Windows this will always return 0, except when "php -r" is used, when it returns 1.
+add a note

AltStyle によって変換されたページ (->オリジナル) /