PHP function register_shutdown_function()

Availability in PHP 4.0

Register a function for execution on shutdown

Parameters

Parameter Data type Default value Note
$function callback not The shutdown function to register.
$parameter mixed null, It is possible to pass parameters to the shutdown function by passing additional parameters.
$_ mixed null

Return values

void

Other resources

Register-shutdown-function official documentation

Newsletter

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