Zend
200-530 · Question #203
What will be the output of the following code? $a = array(0, 1, 2 => array(3, 4)); $a[3] = array(4, 5); echo count($a, 1);
The correct answer is C. 8. See the full explanation below for the reasoning.
Question
What will be the output of the following code? $a = array(0, 1, 2 => array(3, 4)); $a[3] = array(4, 5); echo count($a, 1);
Options
- A4
- B5
- C8
- DNone of the above
How the community answered
(31 responses)- A3% (1)
- B6% (2)
- C74% (23)
- D16% (5)
Community Discussion
No community discussion yet for this question.