Download the PHP package fishingboy/madump without Composer
On this page you can find all versions of the php package fishingboy/madump. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download fishingboy/madump
More information about fishingboy/madump
Files in fishingboy/madump
Download fishingboy/madump
More information about fishingboy/madump
Files in fishingboy/madump
Please rate this library. Is it a good library?
Informations about the package madump
MaDump
為什麼需要 MaDump ?
因為 Magento 的物件如果直接用 var_dump() 或是 print_r() ,都會出現記憶體不足的錯誤,所以寫了一個 dump 工具只 dump 出物件的第一層方便開發。
安裝
使用方法
-
直接輸出
Output:
-
記在 Log (把 output 內容 return 回來)
-
有時候可能需要直接中斷執行,請直接用 exit
-
通常 Trace Code 的時候過程會長這樣
step.1
step.2
step.3
自己在程式一層一層往下去找
Output 說明
-
如果是物件
如果是 getter method 而且不需要帶參數的話,會直接把呼叫後的值秀出來看,像這樣:
-
如果是陣列
或是這樣
- 如果只是一般的值
All versions of madump with dependencies
PHP Build Version
Package Version
No informations.
The package fishingboy/madump contains the following files
Loading the files please wait ....