5 years ago in Php Variables and Syntax

$name = ’123’;
$$name = ’456’;
Result of echo ${’123’};

[A] 456
[B] 123
[C] 456{123}
[D] None of above
Loading...
Next Question

Overall Stats

Attempted 52
Correct 10
Incorrect 22
Viewed 20

Answers

Guest
Guest
Shamsa hafeez
Shamsa hafeez - 5 days ago

Shamsa hafeez from Lahore, Pakistan is saying None of above is correct answer

Dhanashri Bhuyar
Dhanashri Bhuyar - 1 month ago

Dhanashri Bhuyar from Mumbai, India is saying 456 is correct answer

ayoub benigmim
ayoub benigmim - 1 month ago

ayoub benigmim from Casablanca, Morocco is saying 123 is correct answer

AHMED SOULIMANI
AHMED SOULIMANI - 1 month ago

AHMED SOULIMANI from Casablanca, Morocco is saying None of above is correct answer

Samir Pawar
Samir Pawar - 8 months ago

Samir Pawar from Pune, India is saying None of above is correct answer

Related Questions

Which symbol are used in php for comment ?

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

Output of this code :- $a = 10; echo "The value of \$a is \"$a\".";

  • [A] The value of 10 is "10".
  • [B] The value of \$a is \"10\".
  • [C] The value of \$a is "10".
  • [D] The value of $a is "10".

Which are invalid variable ?

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

Which tags are used in php ?

  • [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