PHP supports constants, like most languages. In the same way that variables can be declared and stored, constants can also be declared and stored. Unlike variables, constants cannot be changed once they have been declared. It is therefore best to store data in constants throughout your program that will not change.