Which one of the following is a constant variable?
A. const $name
B. const $NAME
C. constant NAME
D. const NAME
Answer:A
Which one of the following is a constant variable?
A. const $name B. const $NAME C. constant NAME D. const NAME
Explanation:Constants are not prefixed with a dollar sign like regular properties. By convention, they are often named using only uppercase characters