php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #37876 OP_EXPUNGE does nothing in imap_open()
Submitted: 2006-06-21 17:34 UTC Modified: 2007-08-17 20:36 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: yincrash at gmail dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2006-06-21 17:34 UTC] yincrash at gmail dot com
Description:
------------
imap_open()'s doc page says for the option 
"OP_EXPUNGE - Silently expunge recycle stream"

I looked at the php source code for this function, and it passes all the flags into the c-client mail_open().

Because the function sends NIL for the oldstream argument, there is no "recycling of the oldstream" because there is no oldstream, so OP_EXPUNGE does nothing except to confuse the doc page with having the option of using OP_EXPUNGE and CL_EXPUNGE


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-17 20:36 UTC] vrana@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.

Moved to imap_reopen().
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 20 06:00:02 2025 UTC