Skip to content

Instantly share code, notes, and snippets.

@cspray
Created May 14, 2012 14:04
Show Gist options
  • Save cspray/2694189 to your computer and use it in GitHub Desktop.
Save cspray/2694189 to your computer and use it in GitHub Desktop.
Xdebug ini settings to show more info on var_dump
<?php
// Displays all array indices and object properties
ini_set('xdebug.var_display_max_children', -1);
// Displays all string data dumped
ini_set('xdebug.var_display_max_data', -1);
// Controls nested level displayed, maximum is 1023
ini_set('xdebug.var_display_max_depth', -1);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment