/** *在脚本结束处调用获取脚本结束时间的微秒值 */ static function stop() { self::$stopTime = microtime(true); //将获取的时间赋给成员属性$stopTime }