cakephp/cakephp — pull request #753 by dereuromark (2012-08-03 17:08:38+00:00)
Title: enable Debugger::exportVar to display protected and private class properties

enables Debugger::exportVar to display protected and private class properties (similar to print_r debugging)

currently, it does only show public properties (but many useful/interesting ones are protected, though).
but this would be helpful to properly debug. using Reflection this can be solved easily.

this produces quite a similar output to print_r() but will all the safety features like max depth and escaping as well as nice formatting and echoing the type (int, bool).