5 years ago in Php Variables and Syntax

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
Loading...
Next Question

Overall Stats

Attempted 37
Correct 10
Incorrect 16
Viewed 11

Answers

Guest
Guest
Shamsa hafeez
Shamsa hafeez - 1 week ago

Shamsa hafeez from Lahore, Pakistan is saying • This is my string is correct answer

Dhanashri Bhuyar
Dhanashri Bhuyar - 1 month ago

Dhanashri Bhuyar from Mumbai, India is saying • This is \'my\' string is correct answer

ayoub benigmim
ayoub benigmim - 1 month ago

ayoub benigmim from Casablanca, Morocco is saying • None of the above is correct answer

AHMED SOULIMANI
AHMED SOULIMANI - 1 month ago

AHMED SOULIMANI from Casablanca, Morocco is saying • This is 'my' string is correct answer

Samir Pawar
Samir Pawar - 8 months ago

Samir Pawar from Pune, India is saying • This is \'my\' string is correct answer

Related Questions

Output of the code.

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

Output of echo true; ?

  • [A] true
  • [B] “true”
  • [C] 1
  • [D] All of the above

Which are invalid variable ?

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