Constants in PHP

Constants Output

School: UWM

Course: INFOST 440

Semester: Spring 2026

Explanation (30+ words)

Constants are names that store values that should not change while the script runs. Unlike variables, constants do not use a dollar sign and you generally cannot reassign them later. This makes constants useful for fixed values like settings, configuration details, and labels you want to keep consistent.