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
Is array function in php?
What are differences between PECL and PEAR?
When use javascript vs php?
What sized websites have you worked on in the past?
Which is better session or cookie?
Is empty in php?
Does php has a future?
Write down the code for save an uploaded file using php?
What is mod_php?
What is php explain?
What does nan stand for computer science?
What is the purpose of a query?
What is the difference between explode() and split() functions?
What is use of mysqli_query in php?
Do you know how to declare an array in php?