$class = new ReflectionClass('class_name'); $private_properties = $class->getMethods(ReflectionProperty::IS_PRIVATE);
ReflectionProperty::IS_STATIC ReflectionProperty::IS_PUBLIC ReflectionProperty::IS_PROTECTED ReflectionProperty::IS_PRIVATE
PHP的Reflection反射机制