posix_getuid
(PHP 4, PHP 5, PHP 7, PHP 8)
posix_getuid — Return the real user ID of the current process
說明
posix_getuid(): int
Return the numeric real user ID of the current process.
參數
此函式沒有參數。
返回值
Returns the user id, as an int
範例
示例 #1 Example use of posix_getuid()
<?php
echo posix_getuid(); //10000
?>