(PHP 5)
The ReflectionObject class reports information about an object.
Name of the object's class. Read-only, throws ReflectionException in attempt to write.
marcel dot nolte at noltecomputer dot de (02-Sep-2009 10:42)
To simply enlist all methods and properties of an object simply write:
<?php ReflectionObject::export($yourObject); ?>
,which will cause an var_export-like output.