Doc #64199 [Com]: PHP Notice: Unknown: Sequence out of range (errflg=2) in Unknown on line 0

From: Date: Wed, 28 Aug 2013 15:34:43 +0000
Subject: Doc #64199 [Com]: PHP Notice: Unknown: Sequence out of range (errflg=2) in Unknown on line 0
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-10224@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=64199&edit=1 ID: 64199 Comment by: pheagey at gmail dot com Reported by: yvan+php at redcell dot ca Summary: PHP Notice: Unknown: Sequence out of range (errflg=2) in Unknown on line 0 Status: Assigned Type: Documentation Problem Package: Documentation problem PHP Version: 5.4.11 Assigned To: kriscraig Block user comment: N Private report: N New Comment: Would be nice to have a more clearly defined error message when imap_num_msg() returns is empty. Like, null or 0 would be nice. Previous Comments: ------------------------------------------------------------------------ [2013-02-12 17:20:31] yvan+php at redcell dot ca Description: ------------ --- From manual page: http://www.php.net/function.imap-fetch-overview --- Please add a note to this page that using a sequence outside the range of existing messages, or more importantly, a range of 1:1 when there aren't any messages, will result in the notice: PHP Notice: Unknown: Sequence out of range (errflg=2) in Unknown on line 0 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=64199&edit=1

« previous php.doc.bugs (#10224) next »