5 years ago in Php Variables and Syntax

Output of this Code
$who = "World";
echo << So I said, "Hello $who"
TEXT;
?>

[A] So I said, “Hello World”
[B] So I said, "Hello $who"
[C] TEXT So I said, "Hello $who" TEXT
[D] None of the above
Loading...
Next Question

Overall Stats

Attempted 37
Correct 11
Incorrect 14
Viewed 12

Answers

Guest
Guest
Shamsa hafeez
Shamsa hafeez - 1 week ago

Shamsa hafeez from Lahore, Pakistan is saying TEXT So I said, "Hello $who" TEXT is correct answer

Dhanashri Bhuyar
Dhanashri Bhuyar - 1 month ago

Dhanashri Bhuyar from Mumbai, India is saying So I said, “Hello World” is correct answer

AHMED SOULIMANI
AHMED SOULIMANI - 1 month ago

AHMED SOULIMANI from Casablanca, Morocco is saying So I said, “Hello World” is correct answer

Samir Pawar
Samir Pawar - 8 months ago

Samir Pawar from Pune, India is saying TEXT So I said, "Hello $who" TEXT is correct answer

nikita pawar
nikita pawar - 9 months ago

nikita pawar from Pune, India is saying So I said, "Hello $who" is correct answer

Related Questions

Which are the global array in php ?

  • [A] $_POST
  • [B] $_GET
  • [C] $_REQUEST
  • [D] All of the above

Which syntax used to Declare complex string in php ?

  • [A] Basic Syntax
  • [B] Variable Syntax
  • [C] Heredoc Syntax
  • [D] None of the above

Output of the code.

  • [A] Hello $who
  • [B] Hello World
  • [C] 'Hello World'
  • [D] None of the above