VarDump with xdebug

var_dump($array) may not show the full depth with xdebug installed. To allow full dumps edit xdebug.ini and add these lines:

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

You can also set these at runtime:

ini_set('xdebug.var_display_max_depth', -1);
ini_set('xdebug.var_display_max_children', -1);
ini_set('xdebug.var_display_max_data', -1);