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

posix_setsid

Description

The posix_setsid of POSIX for PHP makes the current process a session leader.

Syntax

posix_setsid(): int

Return

Returns the session id, or -1 on errors.

Examples

1 · void

<?

$return = posix_setsid();

echo $return;

?>
8800
HomeMenu