5 years ago in Php Variables and Syntax

Which symbol is used to declare variable in php?

[A] $
[B] %
[C] #
[D] @
Loading...
Next Question

Overall Stats

Attempted 61
Correct 38
Incorrect 5
Viewed 18

Answers

Guest
Guest
Shamsa hafeez
Shamsa hafeez - 5 days ago

Shamsa hafeez from Lahore, Pakistan is saying $ is correct answer

Dhanashri Bhuyar
Dhanashri Bhuyar - 1 month ago

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

ayoub benigmim
ayoub benigmim - 1 month ago

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

Souad El
Souad El - 1 month ago

Souad El from Casablanca, Morocco is saying $ is correct answer

AHMED SOULIMANI
AHMED SOULIMANI - 1 month ago

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

Related Questions

Which symbol are used in php for comment ?

  • [A] //
  • [B] #
  • [C] /* */
  • [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

Output of the code.

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