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’s the difference between htmlentities() and htmlspecialchars()?
Which array function checks if the particular key exists in the array?
What is super () python?
What is input sanitization in php?
What are constructor and destructor in PHP?
What is the difference between require and include in php?
How many records can be stored in mysql table?
Which programming language does php resemble to?
Tell me how to initiate a session in php?
What is difference between web service and api?
What is compact function php?
How to insert a line break in php string?
What is strlen function in php?
Are objects passed by value or by reference?
What is a session in php?