--TEST-- basic array_count_values test --FILE-- --EXPECTF-- Warning: array_count_values(): Can only count string and integer values, entry skipped in %s on line %d Warning: array_count_values(): Can only count string and integer values, entry skipped in %s on line %d Warning: array_count_values(): Can only count string and integer values, entry skipped in %s on line %d array(8) { [1]=> int(2) ["hello"]=> int(2) ["world"]=> int(1) [""]=> int(1) ["rabbit"]=> int(1) ["foo"]=> int(1) ["Foo"]=> int(1) [0]=> int(1) }