I have an array which is then counted (duplicated incrimented)
$list = file('views.php.dat');
print_r(array_count_values ($list));
The output looks like:
Array ( [value ] => 4 ) ( [another ] => 5 )
My goal is:
value (4)
another (5)
Removing: Array, =>, and ( [ ] )
Could anyone steer me in the correct direction? Thanks.