Home > php教程 > php手册 > 如何用php获取程序执行的时间

如何用php获取程序执行的时间

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:31:35
Original
1500 people have browsed it

本篇文章是对使用php获取程序执行的时间进行了详细的分析介绍,需要的朋友参考下

在head.htm中加入,也就是在默认模版中添加“$stime=microtime(true); //获取程序开始执行的时间”

复制代码 代码如下:




这里是网页
再在foot.htm修改如:

复制代码 代码如下:


Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template