- microtime: documentation ( source)
- base64_encode: documentation ( source)
- md5: documentation ( source)
<?php
$value = base64_encode(md5(''));
$start = microtime(true);
for ($i = 0; $i < 10000000; ++$i) {
}
$end = microtime(true);
echo $i/($end - $start), ' op/s';