Zend
200-530 · Question #101
Consider the following PHP code snippet: $who = "World"; echo <<<TEXT "Hello $who"
The correct answer is B. Hello World. See the full explanation below for the reasoning.
Question
Consider the following PHP code snippet: $who = "World"; echo <<<TEXT "Hello $who"
Options
- A<<< TEXT "Hello $who"
- BHello World
- CTEXT "Hello World"
- DTEXT "Hello $who"What will be the output?
How the community answered
(43 responses)- A7% (3)
- B84% (36)
- C2% (1)
- D7% (3)
Community Discussion
No community discussion yet for this question.