|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2020-02-04 (2 months ago) ||Not yet rated by the users||Total: 56 ||All time: 9,689 This week: 356|
This is a simple class that register functions to be called when a script ends.
It takes one or more a callback functions and queues them to be called later and the end of the current PHP script.
The class can also add new callback functions in the beginning of the queue, instead of adding at the end.
When the script exits the class traverses the list of registered shutdown callback functions and call them by the order they were stored in the queue.
Reverse order register_shutdown manager
$ composer install frdl/shutdown-helper
$ShutdownTasks = \frdlweb\Thread\ShutdownTasks::mutex();
print_r( date('c', time()).' execution microtime >= '.microtime() - $start );
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.