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
How to count all the lines of code in a directory and sub folder?
What is basic php?
Will react hooks replace redux?
Tell me how to initiate a session in php?
What are the differences between php3 and php4 and php5? What is the current stable version of php? What advance thing in php7?
What are the string functions in php?
Differences between get, post and request methods ?
Explain about PHP filter and why it should be used?
Is array function in php?
How can I prevent sql-injection in php?
How to define a function with any number of arguments?
What does php exit do?
What is the use of trim function in php?
How can I use single quotes in single quotes in php?
What is strlen function in php?