PHP function register_tick_function()

Availability in versions: PHP 4.0.3

Register a function for execution on each tick

Parameters

Parameter Data type Default value Note
$function callback not The function name as a string, or an array consisting of an object and a method.
$arg mixed null,
$_ mixed null

Return values

bool

Returns true on success, otherwise false on failure.

Other resources

Official register-tick-function documentation

Newsletter

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