Q. How can you create a constant in PHP? (A) const NAME = 'value'; (B) define('NAME', 'value'); (C) constant NAME = 'value'; (D) Both 1 and 2 ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (D) Both 1 and 2 Explanation: PHP allows constants using either define() or const.