nerdexam
Zend

200-530 · Question #204

What is the result of the following code? $a = 1; $b = "1"; var_dump($a === $b);

The correct answer is B. bool(false). See the full explanation below for the reasoning.

Question

What is the result of the following code? $a = 1; $b = "1"; var_dump($a === $b);

Options

  • Abool(true
  • Bbool(false)
  • CParser error
  • DNULL

How the community answered

(35 responses)
  • A
    9% (3)
  • B
    83% (29)
  • C
    6% (2)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 200-530 Practice