只是添加,有PHP的microtime()函数,可以像这样使用:
$time_start = microtime(true);
//do stuff here
$time_end = microtime(true);
$time = $time_end - $time_start;
echo "It took $time seconds\n";
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
7945 次 |
| 最近记录: |