php解析传过来的xml
March 8, 2018

<?php
$xml_string = file_get_contents("php://input");
$xml_string = trim($xml_string);
$xml_object = simplexml_load_string($xml_string);
$xml_arr = get_object_vars($xml_object);

Leave a Reply

如果您是第一次在本站留言,需要审核后才会显示内容!