* [ ] 获取运行信息(内存,吞吐率,内存等)
```
Frame::GetDebugInfo($Key = null, $Default = null);
```
Key(null|string):名称
Default (null|string....):默认内容
*****
```
//获取整个数组
Frame::GetDebugInfo();
```
```
//获取数组的某一个值
Frame::GetDebugInfo('LoadTime');
```
```
//获取数组的某一个值,如果数组中不包含这个值则返回null
//你也可以给方法第二个参数传递一个默认值,如果数组中没找到对应值则返回默认值
Frame::GetDebugInfo('LoadTime',1);
```
```
Array
(
//耗时
[LoadTime] => 0.006319
//吞吐率
[Req] => 158.25
//内存
[Ram] => 1,027.08
//请求头信息
[Header] => Array
(
[cookie] => showpagetrace=1|3; showpagetrace=1|1
[accept-language] => zh-CN,zh;q=0.9
[accept-encoding] => gzip, deflate
[accept] => text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3
[user-agent] => Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
[upgrade-insecure-requests] => 1
[connection] => close
[host] => zqphp.com
)
//请求信息
[Info] => 2020-04-09 09:00:03 HTTP/1.1 GET:/index/im
//就否设置路由别名
[Process] =>
[LoadMode] => Array
(
[0] => C:\project\php\Newzqphp6\application\Lib\index.php //加载文件
[1] => index //加载类名
[2] => im //加载方法
)
[FileList] => Array ( ) //加载文件列表
```
- 开始使用
- 配置文件
- 路由模式
- AutoLoad类
- 启动文件
- __construct
- SetRouting
- SetAlias
- SetStop
- SetError
- Access
- SetWorker
- SetClassFile
- SetClassDir
- Run
- OpenLoad
- LinuxStartAll
- Session类
- 使用说明
- set
- get
- delete
- pull
- has
- id
- Cookie类
- 使用说明
- set
- get
- delete
- pull
- has
- TempLets类
- 模板语法
- 模板标签
- html
- show
- assign
- obtain
- Request类
- get
- post
- host
- referer
- getip
- localip
- header
- body
- file
- scheme
- protocolversion
- uri
- path
- querystring
- method
- Response
- SendFile
- FileStream
- SendData
- SetStatus
- SetHead
- SetMime
- WebSend
- redirect
- dumpJson
- dump
- come
- ps
- Frame类
- GetWeb
- ViewFile
- RoutingData
- SetClassFile
- SetClassDir
- GetMime
- FileMime
- LoadDir
- StartDir
- IsJson
- ArrJson
- JsonFormat
- ObStart
- GetConfig
- ConfigDir
- TempDir
- GetRunData
- GetStatic
- IsDebug
- SetDebug
- GetDebugInfo
- GlobalVariables类
- 使用说明
- set
- get
- delete
- pull
- has
- id
- Mysql类
- 新版本
- 第三方
- Thinkorm
- Medoo
- 旧版本
- Mysql 配置格式
- 项目中操作数据库
- 项目场景
- 项目数据库配置
- 项目数据库中间类
- 项目中操作数据表
- 连贯操作
- where
- table
- data
- order
- field
- limit
- page
- group
- having
- join
- tabname
- union
- sql
- link
- link_base
- lock
- CURD 操作
- 写入数据
- 数据删除
- 数据查询
- 数据更新
- 数据统计操作
- count
- sum
- max
- min
- avg
- 操作DEMO
- CurdTrait.php
- 项目Model层操作表.md
- Curl类
- Method类
- SslAes类
- layui_zqadmin