Zend
200-530 · Question #139
What is the output of the following code: echo "1" + 2 * "0x02";
The correct answer is C. 5. See the full explanation below for the reasoning.
Question
What is the output of the following code: echo "1" + 2 * "0x02";
Options
- A1
- B3
- C5
- D20
- E7
How the community answered
(24 responses)- A4% (1)
- B13% (3)
- C79% (19)
- D4% (1)
Community Discussion
No community discussion yet for this question.