Zend
200-550 · Question #43
What is the output of this code? $world = 'world'; echo <<<'TEXT' hello $world TEXT;
The correct answer is C. PHP Parser error. See the full explanation below for the reasoning.
Question
What is the output of this code? $world = 'world'; echo <<<'TEXT' hello $world TEXT;
Options
- Ahello world
- Bhello $world
- CPHP Parser error
How the community answered
(26 responses)- A8% (2)
- B15% (4)
- C77% (20)
Community Discussion
No community discussion yet for this question.