6 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 38
Correct 11
Incorrect 15
Viewed 12

Answers

Guest
Guest
sana ullah
sana ullah - 7 months ago

sana ullah from Karachi, Pakistan is saying So I said, "Hello $who" is correct answer

Shamsa hafeez
Shamsa hafeez - 8 months ago

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

Dhanashri Bhuyar
Dhanashri Bhuyar - 9 months ago

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

AHMED SOULIMANI
AHMED SOULIMANI - 9 months ago

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

Samir Pawar
Samir Pawar - 1 year ago

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

Related Questions

Which are invalid variable ?

  • [A] $name1
  • [B] $_name
  • [C] $1name
  • [D] All of the above

Which symbol are used in php for comment ?

  • [A] //
  • [B] #
  • [C] /* */
  • [D] All of the above

Output of the code:- echo 'This is \'my\' string';

  • [A] • This is 'my' string
  • [B] • This is \'my\' string
  • [C] • This is my string
  • [D] • None of the above

Which are the global array in php ?

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