PHP OOP-Class Constants
Constants are bits of data saved in the computer’s memory that can not be modified once they have been assigned. Constants declared within classes are known as class constants. Declaring Class Constants A class constant is declared with the const keyword. Class constant must be declared inside class. Note: Class constants are case-sensitive. It is preferred that … Read more