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

  • (A) $
  • (B) &
  • (C) #
  • (D) %
πŸ’¬ Discuss
βœ… Correct Answer: (A) $
Explanation: In PHP, all variables are prefixed with a dollar sign ($).
Explanation by: Rati Dubey
In PHP, all variables are prefixed with a dollar sign ($).

πŸ’¬ Discussion


πŸ“Š Question Analytics

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