Multiple choice technology web technology

  1. You can define a constant by using the define() function. Once a constant is defined

  1. It can never be changed or undefined

  2. It can never be changed but can be undefined

  3. It can be changed but can not be undefined

  4. It can be changed and can be undefined

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Once a constant is defined in PHP using define(), it cannot be changed or undefined during script execution. This is the fundamental purpose of constants - to provide immutable values that remain consistent throughout the program. Option B is wrong because constants cannot be undefined either. Options C and D are incorrect because constants cannot be changed at all after definition. Constants are global in scope and their value is fixed for the entire script runtime.