PHP - Check how many values in array
arrays, php
Solution
Use `count` or `sizeof` for the total number of values or `array_count_values` to count the frequency of each value.
Problem
Can I check the number of values in an array, for example... ``` $abc=array(); $abc[0]="asd"; $abc[1]="sadaf"; $abc[2]="sfadaf"; ``` I want to check and store it(2) in a variable that array abc[] exists till $abc[2].. Thanks