« object oriented php »

Thursday, August 12th, 2010 | Author:

echo get_class($my_class_instance) . ‘<br/>’; foreach (get_class_methods($my_class_instance) as $method) {echo ‘———>’ . $method . ‘<br/>’;}echo get_class($my_class_instance) . ‘<br/>’; foreach (get_class_methods($my_class_instance) as $method) {echo ‘———>’ . $method . ‘<br/>’;}