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

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

πŸ’¬ Discussion


πŸ“Š Question Analytics

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