Question:What is constant? How can you declare a constant?
Answer A constant is a value that cannot be modified throughout the execution of a program. Constant are declare by using the define() function.Its prototype follows: boolean define(string name, mixed value)Example define("PI",3.14159); echo PI; //returns 3.14159
+ Report
What is constant? How can you declare a constant?