Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php microtime

<?php
$time_start = microtime(true);

// Sleep for a while
usleep(100);

$time_end = microtime(true);
$time = $time_end - $time_start;

echo "Did nothing in $time seconds
";
?>
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #php #microtime
ADD COMMENT
Topic
Name
7+5 =