阅读目录
- php get_object_vars() 函数使用方法
-
- 1、自定义一个类
- 2、使用 php get_object_vars() 函数获取类中的所有属性
get_object_vars($object) 返回由对象属性组成的关联数组
关注
打赏