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

set_time_limit

Description

The set_time_limit of Options / Information for PHP limits the maximum execution time.

Syntax

set_time_limit(
    int $seconds
): bool

Parameters

seconds

The maximum execution time, in seconds. If set to zero, no time limit is imposed.

Return

Returns true on success, or false on failure.

Examples

1 · seconds

<?

$seconds = 30;

$return = set_time_limit($seconds);

var_export($return);
true