(PHP 5)
ReflectionObject 类报告了一个对象(object)的相关信息。
对象的类名。只读,在尝试赋值的时候会抛出 ReflectionException。
marcel dot nolte at noltecomputer dot de (2009-09-02 02:42:33)
To simply enlist all methods and properties of an object simply write:
<?php ReflectionObject::export($yourObject); ?>
,which will cause an var_export-like output.