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 constantvalue = value of the constantCase-sensitive takes in a boolean value |
Leave a Reply