獲取目前 PHP 指令碼擁有者的 GID

getmygid

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

getmygid獲取目前 PHP 指令碼擁有者的 GID

說明

getmygid(): int

獲取目前 PHP 指令碼擁有者的使用者組 ID。

返回值

返回目前 PHP 指令碼擁有者的使用者組 ID,或在錯誤時返回 false

參見

Leave a Reply

Your email address will not be published. Required fields are marked *