getmyuid

Gets PHP script owner's UID

Syntax

getmyuid(): int|false

Return

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

Examples

1

<?

$return = getmypid();

var_export($return);

?>
12345
HomeMenu