|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-04-22 21:19 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 08 02:00:01 2026 UTC |
The following code produces an abnormal program termination. The imap_fetchbody has deliberately been written to access a message that doesn't exist (e.g. when someone else is modifying the mailbox). I s'pect the expected behaviour should be a catchable warning. <? if ($mbox = @imap_open ("{10.5.0.4:110/pop3}INBOX", "***", "***")) { imap_fetchheader($mbox, 1); imap_fetchbody($mbox, 3, "1"); } ?>