Home > php教程 > php手册 > body text

codeigniter显示所有脚本执行时间的方法,codeigniter显示所有

WBOY
Release: 2016-06-13 09:10:53
Original
773 people have browsed it

codeigniter显示所有脚本执行时间的方法,codeigniter显示所有

本文实例讲述了codeigniter显示所有脚本执行时间的方法。分享给大家供大家参考。具体分析如下:

如果你想显示所有脚本的执行时间,请将下面的代码加入到view里面

<&#63;php echo $this->benchmark- >elapsed_time() ; &#63;>
Copy after login

也可以使用下面的伪变量

{ elapsed_time}
Copy after login

希望本文所述对大家基于codeigniter的php程序设计有所帮助。

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