View Issue Details

IDProjectCategoryView StatusLast Update
0001973XdebugUncategorizedpublic2021-05-19 12:02
Reportermaaarghk Assigned Toderick  
Status feedbackResolutionopen 
Product Version3.0.4 
Summary0001973: var_dump on an extension object could use get_class_name object handler
DescriptionI am looking here specifically:

when I have xdebug loaded, if I var_dump($object) where $object is a class defined by a custom extension, the base name of that class will be output. However, the extension can define an object handler function get_class_name which adds additional information here, e.g.:

Would you accept a pull request on this?
TagsNo tags attached.
Operating System
PHP Version8.0.0-8.0.4



2021-05-19 12:02

administrator   ~0005879


I did not know that existed :-) I would indeed welcome a pull request, as long as it's also done for var_export_line, and var_export_text. Please follow the guidelines at As this is a new feature, it should be against the master branch. If you're unsure about anything, or have questions, please reach out.


Issue History

Date Modified Username Field Change
2021-05-13 01:38 maaarghk New Issue
2021-05-19 12:02 derick Assigned To => derick
2021-05-19 12:02 derick Status new => feedback
2021-05-19 12:02 derick Note Added: 0005879