首頁 >後端開發 >php教程 >返回数组出现递归?解决办法

返回数组出现递归?解决办法

WBOY
WBOY原創
2016-06-13 10:10:14905瀏覽

返回数组出现递归?
----------PHP----------
$mail_list = parse_xml_config($inx, "mailindex");
$receives = $mail_list['datas']['data'];
$sumCount = count($receives); //当前邮箱中的邮件总数
echo "count-->>$sumCount
";
print_r($receives);
---------XML-----------


 
 
  <[email protected]>
  [email protected]
  (ncmail 843 invoked by uid 401); 027 Feb 2012 22:43:50 -0000
  027 Feb 2012 22:43:50 -0000
  <[email protected]>
  [email protected]
  hhh
  0:send_mode_class.php
  [email protected]
  秘密
  ----====_1330382630_====----
  1.0
  multipart/mixed;boundary="--==================_117335625==_"
 
  24.16 KB
 
 
  2
  netchina_1 ReleasedBy_sean(Data_2012-2-21).doc
  秘密
 

 

  2
 

 
  <[email protected]>
  [email protected]
  (ncmail 23267 invoked by uid 401); 027 Feb 2012 20:21:57 -0000
  027 Feb 2012 20:21:57 -0000
  <[email protected]>
  [email protected]
  w-inx-2
  0:send_mode_class.php
  [email protected]
  绝密
  ----====_1330374117_====----
  1.0
  multipart/mixed;boundary="--==================_783205184==_"
 
  42.06 KB

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn