In PHP, constants are like variables that cannot be changed during the execution of the script. They are used to store values that remain constant throughout the execution.
Ex.
1234 | define(name, value, case -insensitive); Where, name = name of the constant value = value of the constant Case-sensitive takes in a boolean value |
Leave a Reply