note 95381 deleted from function.usort by thiago

From: Date: Wed, 30 Dec 2009 12:11:32 +0000
Subject: note 95381 deleted from function.usort by thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-164466@lists.php.net to get a copy of this message
Note Submitter: m3ali at hotmail dot com ---- Sorry abetter shorter syntax for descending order function cmp($a, $b) { return !($a - $b) ? 0 : $b-$a; }

« previous php.notes (#164466) next »