From: Joerg dot Dieter dot Friedrich at uni-konstanz dot de Operating system: Solaris 8 PHP version: 4.3.1 PHP Bug Type: IMAP related Bug description: imap_sort fails when c-client >=2002 and SE_UID and imapserver has no SORT-cap
Hi! I encountered following problem: imap_sort returns an empty array if all of the following criteria are satisfied: 1. php_imap is linked against libc-client.a >= 2002 2. the imapserver has no SORT capability here former iPlanet now SunOne<blabla> imapserver 3. request from imap_sort to return UIDs with SE_UID I was told that this problem does not encounter on Linux, but I cannot confirm this. And I had no time to test php prior to 4.3.0. php compiled against | imap_sort(...,SE_UID) imap-2001a w/o ssl | works imap-2001a w/ ssl | works imap-2002b w/o ssl | doesn't works imap-2002b w/ ssl | doesn't works imap-2003-dev w/o ssl | doesn't works imap-2003-dev w/ ssl | doesn't works I switched back to imap-2001a, but I hope this can be resolved. Yours Jörg -- Edit bug report at http://bugs.php.net/?id=22304&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22304&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22304&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22304&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22304&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22304&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22304&r=support Expected behavior: http://bugs.php.net/fix.php?id=22304&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22304&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22304&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22304&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22304&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22304&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22304&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22304&r=gnused