Function

set_time_limit

Synopsis

set_time_limit(int): bool

Area
Runtime\PS\Core\Limits\set_time_limitareas

Description

set_time_limit bounds the rest of this script to $seconds and answers true; the clock restarts from the call, as a second call in PHP does, and 0 removes the limit. The limit is a deadline on the context the interpreter checks and every binding receives and it ends a Go call that is waiting as well as a PHP loop that is spinning.

Usage

$value = set_time_limit($arguments);
$fn = set_time_limit(...);

See also