mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-09-02 05:31:36 +08:00
改进trace
This commit is contained in:
7
base.php
7
base.php
@@ -8,9 +8,14 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
function microtime_float()
|
||||
{
|
||||
list ($usec, $sec) = explode(" ", microtime());
|
||||
return (( float )$usec + ( float )$sec);
|
||||
}
|
||||
|
||||
define('THINK_VERSION', '5.0.0 RC3');
|
||||
define('START_TIME', microtime(true));
|
||||
define('START_TIME', microtime_float());
|
||||
define('START_MEM', memory_get_usage());
|
||||
define('EXT', '.php');
|
||||
define('DS', DIRECTORY_SEPARATOR);
|
||||
|
||||
Reference in New Issue
Block a user