Home > Backend Development > PHP Tutorial > 返回数组出现递归?解决办法

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

WBOY
Release: 2016-06-13 13:48:01
Original
874 people have browsed it

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


 
 
 
  yushuai.niu@214.netchina.com.cn
  (ncmail 843 invoked by uid 401); 027 Feb 2012 22:43:50 -0000
  027 Feb 2012 22:43:50 -0000
  <20120227224350.842.ncmail@214.netchina.com.cn>
  yushuai.niu@214.netchina.com.cn
  hhh
  0:send_mode_class.php
  yushuai.niu@214.netchina.com.cn
  秘密
  ----====_1330382630_====----
  1.0
  multipart/mixed;boundary="--==================_117335625==_"
 
  24.16 KB
 
 
  2
  netchina_1 ReleasedBy_sean(Data_2012-2-21).doc
  秘密
 

 

  2
 

 
 
  yushuai.niu@214.netchina.com.cn
  (ncmail 23267 invoked by uid 401); 027 Feb 2012 20:21:57 -0000
  027 Feb 2012 20:21:57 -0000
  <20120227202157.23265.ncmail@214.netchina.com.cn>
  yushuai.niu@214.netchina.com.cn
  w-inx-2
  0:send_mode_class.php
  yushuai.niu@214.netchina.com.cn
  绝密
  ----====_1330374117_====----
  1.0
  multipart/mixed;boundary="--==================_783205184==_"
 
  42.06 KB

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template