note 84489 deleted from function.array-count-values by mgf

From: Date: Thu, 17 Jul 2008 11:39:18 +0000
Subject: note 84489 deleted from function.array-count-values by mgf
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-141617@lists.php.net to get a copy of this message
Note Submitter: php at wallbash dot com ---- In reply to: Robert K S 21-Jun-2008 06:19 The Array doesn't get sorted in any way $test = array(1,1,2,2,2,2,3); var_dump(array_count_values($test)); array(3) { [1]=> int(2) [2]=> int(4) [3]=> int(1) } it just in the order the entries in the original array are.

« previous php.notes (#141617) next »