php下将XML转换为数组 复制代码 代码如下: Xml 转 数组, 包括根键 function xml_to_array( $xml ) { $reg = " <( w+) PHP编程 2022-04-11 204 点赞 3 评论 309 浏览