Php 如何解决IMAP邮件的数组问题

Php 如何解决IMAP邮件的数组问题,php,imap,Php,Imap,接收如下数组: Array ( [0] => Details of Contact Made: [1] => ) Array ( [0] => ABC abc@yahoo.co.in 1234567890 [1] => ) Array ( [0] => I am interested in your Residential Plot. Please get in touch with me. Immediately [1]

接收如下数组:

 Array ( [0] => Details of Contact Made: [1] => ) 
 Array ( [0] => ABC
 abc@yahoo.co.in
 1234567890
       [1] => ) 
 Array ( [0] => I am interested in your Residential Plot. Please get in touch with me.
 Immediately
       [1] => )`
如何提取信息:

ABC
abc@yahoo.co.in
1234567890
I am interested in your Residential Plot. Please get in touch with me.
Immediately
请帮忙。我已经搜索了5天了。

当我正确理解您的问题时,您可以将“inputArray”内爆,以获得单个字符串

例如:

<?php

// $inputArray = 
/*
Array ( [0] => Details of Contact Made: [1] => ) Array ( [0] => ABC
abc@yahoo.co.in
1234567890
[1] => ) Array ( [0] => I am interested in your Residential Plot. Please get in touch with me.
Immediately
[1] => )
*/

$extractedInformation = implode(" ", $inputArray);
var_dump($extractedInformation);

?>

这是阵列的实际转储吗?