A

Admin • 832.27K Points
Coach

Q. Which of the following is used to define a constant in PHP?

  • (A) define()
  • (B) const()
  • (C) constant()
  • (D) set_const()
  • Correct Answer - Option(A)
  • Views: 17
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin

define() defines a constant with a name and value.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.