<<< Previous question <<< Question ID#0009.md >>> Next question >>>
Which of the below provided options is correct regarding the below code?
$a = array(1, 2, 3);
$b = array(1=> 2, 2 => 3, 0 => 1);
$c = array('a' => 1,'b' => 2,'c' => 3);
var_dump($a == $b);
var_dump($a === $b);
var_dump($a == $c);
- A) true false false
- B) false true true
- C) true true false
- D) true false true
Answer
Answer: A