PHP Constants

Constant Examples

My school is University of Wisconsin-Milwaukee.
My course is INFOST 440.

Explanation

A constant is a term that cannot be edited after it has been defined during the execution of a PHP script. Unlike variables, constants do not use a dollar sign before their names. Variables can be assigned new values while the program is running, but constants are intended to remain the same throughout the program.

Back to Activity 3 Home