PHP constants are name or identifier that can not be changed during the execution of the script. PHP constants are defined in two ways: