Q. Which symbol is used to declare a variable in PHP?

  • (A) Dollar sign
  • (B) At the rate sign
  • (C) Ampersand
  • (D) Hash symbol
πŸ’¬ Discuss
βœ… Correct Answer: (A) Dollar sign
Explanation: Variables in PHP are declared using the dollar sign before the variable name
Explanation by: Rati Dubey
Variables in PHP are declared using the dollar sign before the variable name

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
70
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
81%
Success Rate