$s = microtime(true);
for ($i = 1; $i < 10000; $i += 1) {
  // function()
}
$e = microtime(true);
echo $e - $s;

相关文章:

  • 2021-08-10
  • 2022-12-23
  • 2021-12-27
  • 2022-12-23
  • 2022-02-01
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案