1 <?php 2 $start_time = microtime(true); 3 for ($i=0;$i<100000000;$i++){}; 4 $end_time = microtime(true); 5 echo '循环执行时间为:'.($end_time-$start_time).' s';
php查看接口运行时间
猜你喜欢
转载自www.cnblogs.com/dawuge/p/9370112.html
今日推荐
周排行