|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3664 Wrong parameters count in imap_delete
Submitted: 2000-02-29 08:57 UTC Modified: 2000-02-29 09:20 UTC
From: denis at edinet dot it Assigned:
Status: Closed Package: IMAP related
PHP Version: 3.0.15 OS: Linux
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: denis at edinet dot it
New email:
PHP Version: OS:


 [2000-02-29 08:57 UTC] denis at edinet dot it
$mbox = imap_open("{}143","INBOX");

//NB msg 5 exist

//php quits with a Wrong Parameter count for imap_delete

I looked at the sources (imap.c) and the parameter check for the imap_delete is not equal to that in 3.0.14 .

Is there any problem copying the old parameter check routine?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-02-29 09:20 UTC] hholzgra at cvs dot php dot net
has been fixed in CVS after 3.0.15
you may want to check out the latest CVS
or apply theese changes to imap_delete

-       if ( myargc < 3 || myargc > 4 || ...
+       if ( myargc < 2 || myargc > 3 || ...
-       mail_setflag_full(...,myargc == 4 ? flags->value.lval : NIL);
+       mail_setflag_full(...,myargc == 3 ? flags->value.lval : NIL);

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Jan 24 15:03:34 2022 UTC