HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

posix_seteuid

Description

The posix_seteuid of POSIX for PHP sets the effective UID of the current process.

Syntax

posix_seteuid(
    int $user_id
): bool

Parameters

user_id

The user id.

Return

Returns true on success or false on failure.

Examples

1 · user_id

<?

$user_id = 10000;

$return = posix_seteuid($user_id);

var_export($return);
true