(PHP 4, PHP 5, PHP 7, PHP 8)
getmyuid — Gets PHP script owner's UID
getmyuid(): int|false
Gets the user ID of the current script.
This function has no parameters.
Returns the user ID of the current script, or false on error.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.getmyuid.php