getmyuid
PHP Manual
PHP Manual»PHP Options/Info Functions»getmyuid

getmyuid

(PHP 4, PHP 5, PHP 7, PHP 8)

getmyuidGets PHP script owner's UID

Description

function 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.

See Also

To Top