Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は lynx 経由で (-dump オプションを使用して) php アプリケーションをデバッグしており、多くのデバッグ変数を使用しています。残念ながら、コンソールにダンプしてもファイルにダンプしても、var_dump の出力はかなり乱雑です。見栄えを良くする方法はありますか?私はバッシュを使用しています。
print_r私はよりも好きvar_dumpです。これは、PHPだけで取得できる最も優れた方法だと思います。
print_r
var_dump
xdebug をインストール/アクティブ化します。var_dump() の出力がよりきれいになります。