+ 1
What is count_array() function and what it's work
4 ответов
+ 1
Show me the code where you saw this function?
+ 1
// It's a count()
it's a PHP function to count number of elements in array
for example:
$user = array ("a", "b", "c", "d");
echo count($user);
#output 4
#because $user array has 4 elements in it
0
Sorry. I wrote it wrong
The correct is count($array)
0
Thank you.
but if the $array is a variable what is this function's work