From: [EMAIL PROTECTED] Operating system: linux 2.2.16 PHP version: 4.0.4pl1 PHP Bug Type: Reproduceable crash Bug description: imap_sort segaults if no mail is in the user's mailbox The following code causes a segfault if there is no mail in the user's mailbox: $mbox = imap_open("{localhost:143}INBOX", "user", "pass"); $arr = imap_sort($mbox, SORTARRIVAL, 0, SE_UID) -- Edit Bug report at: http://bugs.php.net/?id=10260&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]