Norsk.Firefox Posted February 16, 2008 Share Posted February 16, 2008 Hello Is there a way to dump a class? Print all functions and variables (with type) of a class? Link to comment https://forums.phpfreaks.com/topic/91389-print-class-variables-and-functions/ Share on other sites More sharing options...
PFMaBiSmAd Posted February 16, 2008 Share Posted February 16, 2008 Take a look the Reflection class - http://www.php.net/manual/en/language.oop5.reflection.php Link to comment https://forums.phpfreaks.com/topic/91389-print-class-variables-and-functions/#findComment-468316 Share on other sites More sharing options...
Barand Posted February 16, 2008 Share Posted February 16, 2008 see www.php.net/get_class_methods www.php.net/get_class_vars Link to comment https://forums.phpfreaks.com/topic/91389-print-class-variables-and-functions/#findComment-468319 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.