* [ ] 獲取運行信息(內存,吞吐率,內存等)
```
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