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)- A9% (3)
- B83% (29)
- C6% (2)
- D3% (1)
Community Discussion
No community discussion yet for this question.