Q. Which of the following is the correct way of defining a variable in PHP?

  • (A) $variable name = value;
  • (B) $variable_name = value;
  • (C) $variable_name = value
  • (D) $variable name as value;
πŸ’¬ Discuss
βœ… Correct Answer: (B) $variable_name = value;

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
311
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Yami Thakur
Publisher
πŸ“ˆ
99%
Success Rate