[PATCH] var_dump and friends dislike new style overload objects
| From: | Wez Furlong | Date: | Thu, 30 Jan 2003 11:02:45 +0000 |
| Subject: | [PATCH] var_dump and friends dislike new style overload objects | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-93802@lists.php.net to get a copy of this message | ||
The attached patch alters the var family of functions to be aware of the
get_class_name handler for overloaded objects.
It also checks that the object has a hash table for it's properties
before attempting to access it.
This patch is not 100% complete because it does not handle nested class
names.
I did not see a zend api function to do this, and IMO there should be
such a thing among the introspection functions in PHP 5.
Should I commit this patch?
--Wez.