How to Define a Constant in PHP? Is $ symbol necessary?
Answer Posted / dhir
Constant means a unchangeable value and in php we are
written in "".
"constant";
And don't need to $ sign.
| Is This Answer Correct ? | 16 Yes | 7 No |
Post New Answer View All Answers
What is the use of final class in php?
What is the difference between get & post ?
What is inheritance in php? How many types of inheritance supports php?
Is php front end?
What is the tags in PHP is not a valid way to begin and end a PHP code block?
What are php strings?
What is default session time and path in php?
What are examples of dependent variables?
Can we set session value in javascript?
Is php strongly typed?
Is variable name casesensitive in php?
How to repeat a string to a specific number of times in php?
What is the php function that removes the first element of the array and returns it?
What are string functions?
What is meant by variable variables in php?