🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
# $starttime ## $starttime 脚本执行的开始时间,单位为毫秒,格式:1448335223.1877 。 一般用来计算程序执行时间。 【定义】 文件:xiunophp/xiunophp.php 大约 40 行: ``` <pre class="calibre11">``` $starttime = microtime(1); ``` ``` 【用例】 ``` <pre class="calibre11">``` <?php include './xiunophp/xiunophp.php'; echo microtime(1) - $starttime; // 0.24460697174072 ?> ``` ``` 【注意】 XiunoPHP 在被 include 后,会初始化十几个常用的全局变量,请注意命名不要冲突。