πŸ“Š PHP
Q. Which of these is not a valid PHP variable name?
  • (A) $var1
  • (B) $1var
  • (C) $_var
  • (D) $var_1
πŸ’¬ Discuss
βœ… Correct Answer: (B) $1var

Explanation: Variable names cannot start with a digit.

Explanation by: Rati Dubey
Variable names cannot start with a digit.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
43
Total Visits
πŸ“½οΈ
6 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
88%
Success Rate