Zend
200-530 · Question #540
You run the following PHP script: <?php define ("USER", "Maria"); $USER="John"; print "Welcome ".USER; ?> What will be the output?
The correct answer is D. Welcome Maria. See the full explanation below for the reasoning.
Question
You run the following PHP script: <?php define ("USER", "Maria"); $USER="John"; print "Welcome ".USER; ?> What will be the output?
Options
- AWelcome John
- BScript will through an error.
- CWelcome USER
- DWelcome Maria
How the community answered
(50 responses)- A4% (2)
- B12% (6)
- C6% (3)
- D78% (39)
Community Discussion
No community discussion yet for this question.