frdl/shutdown-helper

Reverse order register_shutdown manager.

v1.0.1 2020-02-03 16:09 UTC

This package is auto-updated.

Last update: 2020-03-03 17:31:56 UTC


README

Reverse order register_shutdown manager

Installation

$ composer install frdl/shutdown-helper

Usage

$ShutdownTasks = \frdlweb\Thread\ShutdownTasks::mutex();
$ShutdownTasks(function($start){
	print_r( date('c', time()).' execution microtime >= '.microtime() - $start );
}, microtime());