Re: Re: [RFC] Help debugging overloaded objects
| From: | Marcus Boerger | Date: | Tue, 16 Jan 2007 19:19:24 +0000 |
| Subject: | Re: Re: [RFC] Help debugging overloaded objects | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-27487@lists.php.net to get a copy of this message | ||
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