PrepAway - Latest Free Exam Questions & Answers

What is the output of the following code?

What is the output of the following code? $text = ‘This is text’; $text1 = <<<‘TEXT’ $text
TEXT; $text2 = <<<TEXT $text1 TEXT; echo “$text2”;

PrepAway - Latest Free Exam Questions & Answers

A.
$text

B.
$text1

C.
$text2

D.
This is text


Leave a Reply

Your email address will not be published. Required fields are marked *