PHP耗时


$t1 =  microtime(true);
$t2 = microtime(true);
echo '耗时'.round($t2-$t1,3).'
'; echo 'Now memory_get_usage: ' . memory_get_usage() . '
'; exit();