Hello Mark, > http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/var/functions/print-r.xml?view=log > see the comment to revision 1.10
thanks for your reply, but imho that doesn't really answer my question. It was changed from > also show protected and private properties of objects with PHP 5, on > the contrary to <function>var_dump</function>. to > also show protected and private properties of objects with PHP 5. But, it still *implies* that var_dump() should behave in another way, like hide the private properties. To clarify it, there should be something like: > var_dump(), print_r() and var_export() all show the private.... And the question remains if there is a way to dump only public properties and if not, why so? :) Greetings, Florian
