<<< Previous question <<< Question ID#0095.md >>> Next question >>>
What will be the output of the following code snippet?
$input = [4, "4", "3", 4, 3, "3", 3, 3, 3, 3, 3, 5, 5, 5, 5, 7, 7, 7, 7];
echo count(array_unique($input));
- A) 4
- B) The script will throw an error message
- C) 19
- D) 6
Answer
Answer: A