时间:2021-07-01 10:21:17 帮助过:22人阅读
http://www.163.com PHP JAVA PYTHON jack@sina.com
$arr = array( 'person_siteurl'=>'http://www.163.com', 'job_keys'=>'php,java,python', 'email'=>'jack@sina.com' )
$arr=(array)simplexml_load_file('user.xml'); $res=array_map(function($param){return is_array($param)?implode(',',$param):$param;},$arr); print_r($res);