php 将对象转化为数组

 
$list = json_decode(json_encode($list), true);
 

 

猜你喜欢

转载自www.cnblogs.com/pcx105/p/9895136.html