Use microtime() to calculate how long it takes to run code:
// write all code here
$function1= myfunction();
$class = newClass;
$timer_end = microtime(true);
$elapsed_time = $timer_end – $timer_start;
echo “This ran for $elapsed_time seconds”;
mysql_close();
© 2018 ALL Rights Reserved | Sitemap
Vancouver | North Vancouver | Burnaby | Richmond | Coquitlam | Port Coquitlam | Surrey | Langley | Maple Ridge | Mission | Abbotsford | Kamloops | Kelowna | Victoria | Squamish | Whistler | Pemberton