Q. Which keyword is used to define a constant in PHP?

  • (A) constant
  • (B) define
  • (C) const
  • (D) Both define and const
πŸ’¬ Discuss
βœ… Correct Answer: (D) Both define and const
Explanation: Constants can be defined using define() or const.
Explanation by: Admin
Constants can be defined using define() or const.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
48
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Admin
Publisher
πŸ“ˆ
81%
Success Rate