National_Instruments
200-500 · Question #189
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
(41 responses)- A2% (1)
- B76% (31)
- C15% (6)
- D7% (3)
Community Discussion
No community discussion yet for this question.