Minh Phượng
New member
What will be the output of the following PHP code?
A. 3
B. 4
C. 5
D. 6
Code:
<?php
$fruits = array ("apple", "orange", array ("pear", "mango"),
"banana");
echo (count($fruits, 1));
?>
B. 4
C. 5
D. 6