<?php
$runtime_start = microtime(true); //程序开始处
$runtime_stop = microtime(true); //程序结尾处
echo "耗时: ".round($runtime_stop-$runtime_start,6)." second(s)";
本文共 196 字,大约阅读时间需要 1 分钟。
<?php
$runtime_start = microtime(true); //程序开始处
$runtime_stop = microtime(true); //程序结尾处
echo "耗时: ".round($runtime_stop-$runtime_start,6)." second(s)";
转载于:https://blog.51cto.com/jinliang/1437177