Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $timer = time();
- function shutdown()
- {
- global $timer;
- print "Execution took ".(time() - $timer)."<br>";
- echo 'Script executed with success', PHP_EOL;
- }
- register_shutdown_function('shutdown');
- print "Doing sketchy stuff!";
- sleep(5);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement