私はコードのためのいくつかのオンラインのきれいなプリントモジュールを見ました。多次元配列を読み込み可能な形式にフォーマットする人は誰でも知っていますか?多次元配列をデバッグするにはどのようにフォーマットできますか?
例、この翻訳:
この中へアレイ(83){[0] =>アレイ(2){ [ "名前"] =>列(11) "CE2オプション" [ "タイプ(2)=> array(5){["type"] =>文字列(4) "開いた" } "name"] => "template" ["desc"] => "テストの説明" ["id"] => string "9" "my_theme" ["type" ] => string(14) "selectTemplate" ["options"] =>配列(13){
...
array(83) {
[0]=> array(2) { ["name"]=> string(11) "My Options" ["type"]=> string(5) "title" }
[1]=> array(1) { ["type"]=> string(4) "open" }
[2]=> array(5) {
["name"]=> string(8) "Template"
["desc"]=> string(638) "Test description"
["id"]=> string(9) "my_theme"
["type"]=> string(14) "selectTemplate"
["options"]=> array(13) {
[0]=> string(10) "test"
重複した質問http://stackoverflow.com/questions/1168175/is-there-a-pretty-print-for-php – giorgio79