get_class_vars:返回由类默认属性的组成的数组 get_object_vars:返回由对象属性组成的数组 转载于:https://www.cnblogs.com/ljw7pm/p/3189659.html