Briefing Zend Knowledge

What is the output of the following code?

What is the output of the following code? for ($i = 0; $i < 1.02; $i += 0.17) { $a[$i] = $i; }
echo count($a);

A.
7

B.
0

C.
1

D.
2

E.
6

Explanation: