Home  >  Article  >  Backend Development  >  页面加载的实现_PHP

页面加载的实现_PHP

WBOY
WBOYOriginal
2016-06-01 12:31:29998browse

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

$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