PHP Constants

SCHOOL: UWM

COURSE: INFOST 440

Explanation

Constants are values that do not change while a program runs. In PHP, constants are created using the define() function and they are written without a dollar sign. Variables can change anytime, but constants stay the same once they are defined. Constants are useful for fixed information like course names, settings, or configuration values.

Back to index