We are all familiar with variables. As the name suggests the value of the given variable tends to vary.
$fruit = 'orange';
$foo = 'banana';
The above script illustrates the usage of variables. Variables in PHP are represented by a dollar sign followed by the name.
Just like variables, PHP offers constants. As the name suggests the value of the constant does not change throught the lifetime of the script.