Ignore this message if it doesn't make sense..

wouldn't this essentially be the same as __toArray() ?

Evert

Marcus Boerger wrote:
Hello Michael,

ok current name and other options in one list:

1) get_debug_info()
2) get_debug_hash()
3) get_dump_vars()
4) get_dump_hash()

does this list contain anythign you like?

best regards
marcus

Tuesday, January 16, 2007, 8:32:41 AM, you wrote:

Marcus Boerger wrote:
Hello internals,

  the attached patch introduces a new handler to the engine that is
supposed to help debugging overloaded objects. It allows to return a
temporary hash rather then the object properties. This way an extension
can show non properties in var_dump() and print_r(). It will be used
in extensions like SimpleXML. To show how it will look like the changes
for said extension are alsopresent. Last but not least the handler can
be NULL in which case the old behavior is maintained. If noone objects
I will commit this by the end of the week.

Any comments?

A strong +1 from me. Though, I don't like the name of the handler...

Regards,
--
Michael




Best regards,
 Marcus


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to