$t1 = microtime(true); $t2 = microtime(true); echo ‘耗时‘.round($t2-$t1,3).‘秒<br>‘; echo ‘Now memory_get_usage: ‘ . memory_get_usage() . ‘<br />‘; exit();
PHP耗时
原文:https://www.cnblogs.com/aln0825/p/14780389.html