LoginSignup
23
17

More than 5 years have passed since last update.

【PHP】var_dump()出力を省略させずに全て吐き出させる

Last updated at Posted at 2018-10-02

var_dump()を省略させずにすべてを出力させる

Xdebugの設定で省略される場合があるそうで

ini_set('xdebug.var_display_max_children', -1);
ini_set('xdebug.var_display_max_data', -1);
ini_set('xdebug.var_display_max_depth', -1);
var_dump($hoge);
exit;

これで全ての値を出力させることができるそうな

参考

23
17
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
23
17