What is the output of this code?
What is the output of this code?
The code uses nowdoc syntax, which means the content inside TEXT will be treated as a plain string, and variables will not be parsed. Thus, the value of `$world` will not be interpolated into the string, and `hello $world` will be output literally.
The answer is C, because as you can see, TEXT; has space from left side, and it gives a Parse Error
Answer is B
Whoops! It's C explanation: $world = `world'; instead of $world = 'world';
Answer should be B, has been tested.