标签:
public function object_to_array(&$object){ //对象转数组 $object=json_decode(json_encode($object),true); return $object; }
对象转数组
原文地址:http://www.cnblogs.com/719907411hl/p/4867415.html