Guest User

Untitled

a guest
May 23rd, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. <?php
  2. $start = microtime(TRUE);
  3. $md5 = md5('The quick fox jumped over the lazy dog.');
  4. $seconds = (microtime(TRUE) - $start) * 1000;
  5. echo "That took: {$seconds} seconds\n";
  6.  
  7. $start = microtime(TRUE);
  8. $md5 = bin2hex(md5('The quick fox jumped over the lazy dog.', TRUE));
  9. $seconds = (microtime(TRUE) - $start) * 1000;
  10. echo "That took: {$seconds} seconds\n";
  11. ?>
Add Comment
Please, Sign In to add comment