5 years ago in Php Variables and Syntax

Output of the code. $who = "World";
echo 'Hello $who';
?>

[A] Hello $who
[B] Hello World
[C] 'Hello World'
[D] None of the above
Loading...
Next Question

Overall Stats

Attempted 39
Correct 13
Incorrect 15
Viewed 11

Answers

Guest
Guest
Shamsa hafeez
Shamsa hafeez - 1 week ago

Shamsa hafeez from Lahore, Pakistan is saying 'Hello World' is correct answer

Dhanashri Bhuyar
Dhanashri Bhuyar - 1 month ago

Dhanashri Bhuyar from Mumbai, India is saying Hello $who is correct answer

ayoub benigmim
ayoub benigmim - 1 month ago

ayoub benigmim from Casablanca, Morocco is saying Hello $who is correct answer

AHMED SOULIMANI
AHMED SOULIMANI - 1 month ago

AHMED SOULIMANI from Casablanca, Morocco is saying Hello $who is correct answer

Samir Pawar
Samir Pawar - 8 months ago

Samir Pawar from Pune, India is saying Hello $who is correct answer

Related Questions

Which tags are used in php ?

  • [A]
  • [B] <% %>
  • [C] <# #>
  • [D] All of the above

Which symbol are used in php for comment ?

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

Which are invalid variable ?

  • [A] $name1
  • [B] $_name
  • [C] $1name
  • [D] All 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

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

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