πŸ“Š PHP
Q. How do you declare a constant in PHP?
  • (A) Using the define function
  • (B) Using the const keyword
  • (C) Both options one and two
  • (D) None of these
πŸ’¬ Discuss
βœ… Correct Answer: (C) Both options one and two

Explanation: Constants can be declared using define or const keyword in PHP

Explanation by: Rati Dubey
Constants can be declared using define or const keyword in PHP

πŸ’¬ Discussion


πŸ“Š Question Analytics

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