<<< Previous question <<< Question ID#0112.md >>> Next question >>>
What will be the result of comparing the following two PHP arrays?
$x = array(10,2,4);
$y = array(1 => 2, 0 => 10, 2 => 4);
var_dump($x == $y);
- A) bool(true)
- B) NULL
- C) an error
- D) bool(false)
Answer
Answer: A