Constants in PHP | Types of Constants | Define Constants

Variables & Data-types in PHP What is a constant? A constant is an entity that does not change its value. Hence, In PHP we create constants so that we cannot change its value after that. In this way, unlike variables,