Advertisement
Guest User

Untitled

a guest
Jul 21st, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. #### Helpful for testing how long something runs for
  2. ```
  3. $time_start = microtime(true);
  4. $callYourFunction();
  5. $bar = 'Total execution time in seconds: ' . (microtime(true) - $time_start);
  6. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement