foreach ($params as $key=>$value){ $obj->$key=$value;
循环体能否给个详细解释?谢谢
http://php.net/manual/zh/control-structures.foreach.php