posix_geteuid
PHP 4, PHP 5, PHP 7, PHP 8
posix_geteuid - Return the effective user ID of the current process
Manual
posix_geteuid(
): int
Return the numeric effective user ID of the current process. See also posix_getpwuid for information on how to convert this into a useable username.
Parameters
This function has no parameters.
Return Values
Returns the user id, as an int