Home >Backend Development >PHP Tutorial >How to get the program execution time using php_PHP Tutorial

How to get the program execution time using php_PHP Tutorial

WBOY
WBOYOriginal
2016-07-21 15:07:57900browse

Add it to head.htm, that is, add "$stime=microtime(true); //Get the time when the program starts executing" in the default template

Copy code The code is as follows:



Here is The web page
is modified in foot.htm as follows:
Copy the code and the code is as follows: