PHP: Execution time of the script
Execution time of the script. Shows the text like this: "The script has been executed in 0.0090 sec."
$time_start = microtime(true); // your PHP code here $time_end = microtime(true); $time = $time_end - $time_start; echo 'This script has been executed in ' . $time . ' sec.';
0 Comments