note 33110 added to function.rsort

From: Date: Tue, 17 Jun 2003 05:37:48 +0000
Subject: note 33110 added to function.rsort
Groups: php.notes 
Request: Send a blank email to php-notes+get-50459@lists.php.net to get a copy of this message
Apparently rsort does not put arrays with one value back to zero. If you have an array like: $tmp = array(9 => 'asdf') and then rsort it, $tmp[0] is empty and $tmp[9] stays as is. ---- Manual Page -- http://www.php.net/manual/en/function.rsort.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33110 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33110&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33110&report=yes

« previous php.notes (#50459) next »