#35350 [Opn->Fbk]: imap_sort() fail when using with SE_UID

From: Date: Wed, 23 Nov 2005 16:10:28 +0000
Subject: #35350 [Opn->Fbk]: imap_sort() fail when using with SE_UID
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-88790@lists.php.net to get a copy of this message
ID: 35350 Updated by: sniper@php.net Reported By: hoishing at gmail dot com -Status: Open +Status: Feedback Bug Type: IMAP related Operating System: linux F.C.3 PHP Version: 4.4.1 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2005-11-23 17:07:00] hoishing at gmail dot com Description: ------------ my php compile with imap-2004g 1.lots of unknown notice appeared with using imap_sort($stream,0,0). 2. If SE_UID is added, such as imap_sort($stream,0,0,SE_UID), the script will fail to display. Reproduce code: --------------- 1. $msg_nos=@imap_sort($stream, 0, 0); 2. $msg_nos=@imap_sort($stream,0,0,SE_UID); Expected result: ---------------- 1. array of sequence numbers without notices, as "@" is being used. 2. array of UIDs Actual result: -------------- 1. lots of notices appeared such as: Notice: (null)(): Missing or invalid host name after @ (errflg=3) in Unknown on line 0 Notice: (null)(): Unterminated mailbox: ##!@1230 (errflg=3) in Unknown on line 0 Notice: (null)(): Unterminated at-domain-list: @hotmail.com> (errflg=3) in Unknown on line 0 2. Script fail to dispay ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35350&edit=1

« previous php.bugs (#88790) next »