> t would not be a BC break to completely change the output
I agree! This could be as simple as removing the XOR for the first part of the hash string (the first 16 chars) and expose the internal object's handle there. This is already leaked by the output of var_dump so not a pb imho. And BC is kept. Indeed. A non-function version of debug_zval_dump which could do this on > any variable would be even better (if I read it right, your function only > works on array members?) > Not sure this is required: any variable can be put in an array for this purpose thanks to get_defined_vars() and the (array) cast operator for objects.