PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Till Wehowski   PHP Shutdown Function Shutdown Helper   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: PHP Shutdown Function Shutdown Helper
Register functions to be called when a script ends
Author: By
Last change:
Date: 4 years ago
Size: 335 bytes
 

Contents

Class file image Download

shutdown-helper

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());