PHP Function Table / Implementation & Documentation

_ a b c d e f g h i j k l m n o p q r s t u v w x y z    alphabetical    by extension    about    statistics

function array_count_values


Counts all the values of an array
this function is not available in the current (CVS) version of PHP3

in the current (CVS) version of PHP4, this function
is definend in php4/ext/standard/basic_functions.c
and implemented in php4/ext/standard/array.c

it is documented in array.xml

a japanese translation is available

this function lacks a proto definition in latest PHP3 source

there is a proto in latest PHP4 source:
array array_count_values(array input)
Return the value as key and the frequency of that value in as value

PHP 3.0.*
01234567891
0
1
1
1
2
1
3
1
4
1
5
1
6
c
v
s
                  
 

 

PHP 4.0.*
0
b
1
0
b
2
0
b
4
0
R
C
1
0
R
C
2
0c
v
s
--xxxxx


last update Die 23 Mai 2000 10:00:41 CEST

(c) 2000 Hartmut Holzgraefe