A

Admin • 825.56K Points
Coach

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
  • Correct Answer - Option(C)
  • Views: 10
  • Filed under category PHP
  • Hashtags:

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.