A constant is an identifier or name for a simple value. As the name suggests, that value cannot change at time of the execution of the script,It is used for at time of configurations.
Syntax: define(name, value);
<?php define(firstConstant, "Welcome to Constant Program"); echo firstConstant; ?>
Result: Welcome to Constant Program