School: UW Milwaukee
Course: INFOST 440
A constant is a name that stores a value that should not be changed during the execution of a PHP script. Constants are created using functions such as define() and are written without the dollar sign. Variables use a dollar sign and can normally have their values changed while the program runs. Constants are useful for information that should remain the same throughout a program.