ID: 40865 Updated by: [EMAIL PROTECTED] Reported By: xhack at web dot de -Status: Open +Status: Bogus Bug Type: IMAP related Operating System: Debian Linux Etch 4.0 PHP Version: 5.2.1 New Comment:
PHP just passes this string to c-client, the processing is done there. Previous Comments: ------------------------------------------------------------------------ [2007-03-20 13:33:18] xhack at web dot de Description: ------------ imap_fetch_overview() ignores the order of integers in the sequence-field. this is annoying when you try to sort mails and then fetch a sorted list. Reproduce code: --------------- $res=imap_fetch_overview($mbox,"1,2,3,10",0); OR $res=imap_fetch_overview($mbox,"10,3,1,2",0); OR SO ON ... Expected result: ---------------- $res[0]->msgno=10 $res[1]->msgno=3 $res[2]->msgno=1 $res[3]->msgno=2 Actual result: -------------- $res[0]->msgno=1 $res[1]->msgno=2 $res[2]->msgno=3 $res[3]->msgno=10 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40865&edit=1