Constants

Constants store information much like a variable does but what differs from a constant and a variable is that a constant cannot be changed once its created and constants also are created by using the define() function instead of the $

First Example of a Constant

In this example PET is being defined as Dog

Dog

Second Example of a Constant

In this exmaple the constant value is FOOD and its defined as Pizza

Pizza constantcode