Which is the correct syntax of define() function in PHP?

77. Which is the correct syntax of define() function in PHP?

  1. define(constant_name)
  2. define(constant_name, value)
  3. define(constant_name, value, case-insensitive)
  4. define(constant_name = value)

Answer: C) define(constant_name, value, case-insensitive)

Explanation:

The correct syntax of the define() function is:

define(constant_name, value, case-insensitive)

Comments and Discussions!

Load comments ↻






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