标签:
$result=(array)$receive[0]; //对象强制转换成数组 foreach ($result as $key => $value) { $newresult[$key]=array((array)$value); } var_dump($newresult); exit();
php 对象强制转换成数组
原文地址:http://www.cnblogs.com/leong/p/4256539.html