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

Create your Digital Resume For FREE on your name's sub domain "yourname.wcard.io". Register Here!


Overall Stats

Attempted 38
Correct 11
Incorrect 15
Viewed 12

Answers

Guest
Guest
sana ullah
sana ullah - 1 year ago

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

Shamsa hafeez
Shamsa hafeez - 1 year ago

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

Dhanashri Bhuyar
Dhanashri Bhuyar - 1 year ago

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

AHMED SOULIMANI
AHMED SOULIMANI - 1 year 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

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

Output of the code.

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

Select invalid constant.

  • [A] Define(‘email','test@test.com');
  • [B] Define(‘1test','test@test.com');
  • [C] Define(‘a','my first alphabet');
  • [D] All of the above

Which are the global array in php ?

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

Output of echo (int) ((0.1 + 0.7) * 10);

  • [A] 7
  • [B] 8
  • [C] 8.0
  • [D] None of the above