+ 1
How can I measure the speed of code written in PHP?
1 Answer
+ 1
$startTime= microtime(true); /** Write here you code to check **/ /** Write here you code to check **/ $endTime= microtime(true); echo 'Time Taken to executre the code:'.$endTime-$startTime;