Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $start = microtime(TRUE);
- $md5 = md5('The quick fox jumped over the lazy dog.');
- $seconds = (microtime(TRUE) - $start) * 1000;
- echo "That took: {$seconds} seconds\n";
- $start = microtime(TRUE);
- $md5 = bin2hex(md5('The quick fox jumped over the lazy dog.', TRUE));
- $seconds = (microtime(TRUE) - $start) * 1000;
- echo "That took: {$seconds} seconds\n";
- ?>
Add Comment
Please, Sign In to add comment