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

  • (A) var
  • (B) $
  • (C) let
  • (D) declare
πŸ’¬ Discuss
βœ… Correct Answer: (B) $
Explanation: Variables in PHP start with the $ sign.
Explanation by: Rati Dubey
Variables in PHP start with the $ sign.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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