Home > LAMP, Web Development > var_dump() output truncated ?

var_dump() output truncated ?

if you are using xdebug for PHP debugging and your var_dump() output is being truncated, add the below lines to your php.ini or xdebug.ini

restart apache

xdebug.var_display_max_data = -1
xdebug.var_display_max_children = -1
xdebug.var_display_max_depth = -1 
each of these settings are explained here – http://xdebug.org/docs/all_settings
Categories: LAMP, Web Development
  1. No comments yet.
  1. April 21, 2017 at 4:01 AM

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: