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 correct and the most two common way to start and finish a php block of code?
How to count all the lines of code in a directory and sub folder?
Is php used for frontend or backend?
How to know user has read the email-php?
What are the php variables?
How to get a total number of rows available in the table?
Describe PHP error and logging information?
What is the difference between require_once and require in php?
What are properties in php?
Tell me what are the encryption techniques in php?
When to use self over $this?
What are the array functions in php?
Explain the difference between session and cookies in php?
What is the difference between $argv and $argc? Give example?
Tell me what is the difference between characters 34 and x34?