5 years ago in Php Variables and Syntax

Output of this code
echo "Here a literal brace + dollar sign: {\$";

[A] Here a literal brace + dollar sign: {\$
[B] Here a literal brace + dollar sign: \$
[C] Here a literal brace + dollar sign: {
[D] None of the above
Loading...
Next Question

Overall Stats

Attempted 31
Correct 7
Incorrect 15
Viewed 9

Answers

Guest
Guest
Shamsa hafeez
Shamsa hafeez - 1 day ago

Shamsa hafeez from Lahore, Pakistan is saying Here a literal brace + dollar sign: \$ is correct answer

ayoub benigmim
ayoub benigmim - 1 month ago

ayoub benigmim from Casablanca, Morocco is saying Here a literal brace + dollar sign: { is correct answer

AHMED SOULIMANI
AHMED SOULIMANI - 1 month ago

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

Samir Pawar
Samir Pawar - 7 months ago

Samir Pawar from Pune, India is saying Here a literal brace + dollar sign: { is correct answer

nikita pawar
nikita pawar - 9 months ago

nikita pawar from Pune, India is saying Here a literal brace + dollar sign: {\$ 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 echo (int) ((0.1 + 0.7) * 10);

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

Output of the code.

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

How to define constant in php ?

  • [A] $
  • [B] define
  • [C] #define
  • [D] All of the above

How to declare a string variable in php?

  • [A] string str = “abc”;
  • [B] var string = “abc”;
  • [C] $str = “abc”;
  • [D] None of the above