017对象——对象 get_object_vars get_parent_class is_subclass_of interface_exists

<?php /** */ //get_object_vars($obj) 得到对象的属性,以关联数据形式返回。 /*class study{ public $name; public $age; public $city; function __construct($name,$age,$city) { $this->name=$name
相关文章
相关标签/搜索