National_Instruments
200-500 · Question #201
What is the output of the folowing code? 1 <?php 2 echo '1' . (print '2') + 3; 3 ?>
The correct answer is D. 214. See the full explanation below for the reasoning.
Question
What is the output of the folowing code? 1 <?php 2 echo '1' . (print '2') + 3; 3 ?>
Options
- A123
- B213
- C142
- D214
- ESyntax error
How the community answered
(22 responses)- A5% (1)
- B5% (1)
- C14% (3)
- D77% (17)
Community Discussion
No community discussion yet for this question.