<<< Previous question <<< Question ID#0374.md >>> Next question >>>
What is the output of the following PHP code?
$myArray = [0, NULL, '', '0', -1];
echo count(array_filter($myArray));
- A) 1
- B) 5
- C) 3
- D) 4
Answer
Answer: A
What is the output of the following PHP code?
$myArray = [0, NULL, '', '0', -1];
echo count(array_filter($myArray));
Answer: A