PHP Constants

Constant Examples

School: University of Wisconsin-Milwaukee

Course: INFOST 440

Student Name: Charles Nyamful

Explanation

A constant is a value that cannot be changed after it has been defined during the execution of a PHP script. Unlike variables, constants do not use the dollar sign ($). Variables can have their values changed while the program is running, but constants are normally used for values that should remain the same.

Back to Activity 3 Home