Xdebug has been called the swiss army knife for php developers and for good reason. It’s a must have tools with helps with everything from debugging to code coverage.

Once of the many cool features of xdebug is that it formats and and syntax highlights the output from var_dump. However a negative side effect is that it truncates this output.

To fix this simple enter the information below in you php.ini file and restart apache. -1 sets the value to unlimited

 xdebug.var_display_max_data=-1
 xdebug.var_display_max_children=-1
 xdebug.var_display_max_depth=-1

See the five part series on Zend Developer Zone for a complete tutorial on using xdebug