Q. What will be the output?
Code:
$a = []; $a[] = &$a; echo count($a);
β
Correct Answer: (A)
1
Explanation: Self-referencing array still has one element.