frdl/shutdown-helper

Reverse order register_shutdown manager.

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

This package is auto-updated.

Last update: 2024-11-29 05:57:50 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());