note 73102 rejected from function.imap-sort by didou

From: Date: Fri, 29 Jun 2007 23:46:11 +0000
Subject: note 73102 rejected from function.imap-sort by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-128100@lists.php.net to get a copy of this message
Note Submitter: fili at fili dot nl ---- Just so you know, imap_sort apparently refuses to reverse SORTARRIVAL. Scenario: <?php $result1 = imap_sort($mbox_id, SORTARRIVAL, false); $result2 = imap_sort($mbox_id, SORTARRIVAL, true); ?> Result: $result1 and $result2 are identical Solution: $result = array_reverse($result);

« previous php.notes (#128100) next »