Which keyword/function is used to create a constant in PHP?

76. Which keyword/function is used to create a constant in PHP?

  1. define keyword
  2. define() function
  3. const keyword
  4. const() function

Answer: B) define() function

Explanation:

The define() function is used to create a constant in PHP.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.