Q. Which of these is NOT a valid variable name in PHP?

  • (A) $_var
  • (B) $var_name
  • (C) $9var
  • (D) $var9
πŸ’¬ Discuss
βœ… Correct Answer: (C) $9var
Explanation: Variable names cannot start with a number.
Explanation by: Rati Dubey
Variable names cannot start with a number.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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