计算php函数的执行时间 2019年9月30日 18:51:59php教程评论544 views阅读模式 $long_str = "this is a test to see how much time md5 function takes to execute over this string"; // start timing from here $start = microtime(true); // function to test $md5 = md5($long_str); $elapsed = microtime(true) - $start; 复制代码 点赞 登录收藏 https://www.qieseo.com/315663.html 复制链接 复制链接