Try to auto detecte recursion... but doesn't work fith $GLOBALS
add a max level of recursion option to limit deep dumps