php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5116 [Wrong Result] imap_fetch_overview()
Submitted: 2000-06-19 10:31 UTC Modified: 2000-06-19 20:12 UTC
From: yakang at orgio dot net Assigned:
Status: Closed Package: IMAP related
PHP Version: 4.0.0 Release OS: LINUX (RedHat 6.1)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: yakang at orgio dot net
New email:
PHP Version: OS:

 

 [2000-06-19 10:31 UTC] yakang at orgio dot net
---------------- 
My Code :
---------------- 

$aSeq_Number = "1,2,3,4,5";
$aOverview = imap_fetch_overview($link, $aSeq_Number, 0) 
if ( is_array($aOverview) ) {
  reset($aOverview);
  while ( list($key, $val) = each($aOverview)) {
    echo "$val->from<br>";
  }
}

The message no of my mailbox is three.
The first sender is yakang@orgio.net, the second senderyeon@samsung.co.kr, the third sender jph@orgio.net

---------------- 
The result :
----------------
yakang@orgio.net
yakang@orgio.netyeonsh@samsung.co.kr
yakang@orgio.netyeonsh@samsung.co.krjph@orgio.net

------------------
I think that $from value is appended. 



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-19 20:12 UTC] rasmus at cvs dot php dot net
This was fixed a couple of hours ago.  Grab a current snapshot from http://snaps.php.net and try again.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 06 17:01:33 2025 UTC