note 12876 deleted from function.array-count-values by philip

From: Date: Fri, 23 Nov 2001 20:19:17 +0000
Subject: note 12876 deleted from function.array-count-values by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-21212@lists.php.net to get a copy of this message
If you just want to count the values in an array in PHP3 and end up with the number loaded in a variable, do: $count_array = 0; while(list($key, $val) = each($orig_array)) ++$count_array;

« previous php.notes (#21212) next »