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

页面加载时间的实现

WBOY
WBOYOriginal
2016-06-13 10:02:541032browse

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

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

Statement:
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