How to get the program execution time using php_PHP Tutorial

WBOY
Release: 2016-07-21 15:07:57
Original
886 people have browsed it

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: