<?php function microtime_float() { list($usec, $sec) = explode(" ", microtime()); return ((float)$usec + (float)$sec); } $time_start = microtime_float(); $i = 1920 * 1080; $a = 1; while ($i--) { $a << 1; } $time_end = microtime_float(); $time = $time_end - $time_start; echo "Done in $time seconds\n";
You have javascript disabled. You will not be able to edit any code.