Q. Which of the following is used to declare a variable in PHP?

  • (A) $
  • (B) #
  • (C) &
  • (D) %
πŸ’¬ Discuss
βœ… Correct Answer: (A) $
Explanation: Variables in PHP start with the $ symbol.
Explanation by: Rati Dubey
Variables in PHP start with the $ symbol.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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