PHP Constants

School: University of Wisconsin-Milwaukee

Course: INFOST 440

Explanation

A constant stores a value that cannot be changed after it has been defined during the execution of a PHP script. Variables can have their values changed throughout a program, while constants remain the same. Constants can be useful for information that should stay consistent, such as a school name, course name, or configuration value.