PHP Constants

Constant Examples

School: University of Wisconsin-Milwaukee
Course: INFOST 440

Explanation

A constant stores a value that cannot be changed while the PHP script is running. Constants are useful for information that should remain the same. Variables can change values throughout a program and begin with a dollar sign, while constants do not use a dollar sign and normally remain unchanged.

Back to Index