Re: [RFC] Help debugging overloaded objects

From: Date: Mon, 15 Jan 2007 23:01:16 +0000
Subject: Re: [RFC] Help debugging overloaded objects
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-27473@lists.php.net to get a copy of this message
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? Looks useful, I like it.
+1 -Sara

« previous php.internals (#27473) next »