getmyuid

PHP 4, PHP 5, PHP 7, PHP 8
getmyuid - Gets PHP script owner's UID
Manual

getmyuid( ): int|false

Gets the user ID of the current script.

Parameters

This function has no parameters.

Return Values

Returns the user ID of the current script, or false on error.

Related Functions