Home > php教程 > php手册 > 页面加载时间的实现

页面加载时间的实现

WBOY
Release: 2016-06-13 10:02:54
Original
1056 people have browsed it

我们经常看到有些论坛的最下面都写着页面加载时间是......,其实,实现的的方法非常简单,具体把下面代码拷贝到具体位置即可。

$load = microtime();
print (number_format($load,2));
?> seconds

source:php.cn
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template