PHP function set_time_limit()

Availability in PHP 4.0

Limits the maximum execution time

Parameters

Parameter Data type Default value Note
$seconds int not The maximum execution time, in seconds. If set to zero, no time limit is imposed.

Return values

bool

Returns TRUE on success, or FALSE on failure.

Other resources

Official set-time-limit documentation

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.