microtime(): Get millisecond-level UNIX timestamp
<?php $t=microtime(); /* 你要执行的代码 */ echo "哦啦啦啦啦啦啦啦"; $t=microtime()-$t; echo "<br>本次代码执行用了$t毫秒."; ?>
The above introduces the implementation of web page execution timing function in PHP, including aspects of content. I hope it will be helpful to friends who are interested in PHP tutorials.