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 not null in php?
Is array a key php?
In php, objects are they passed by value or by reference?
What is alias in php?
What is phpsessid?
Why and where do we use htaccess?
What are the advantages of indexes?
Explain some of the php string functions?
What is echo and print in php?
How the web server interprets php and interacts with the client?
How many escape sequences are recognized in double-quoted strings in php?
What are php strings?
Tell us what does $_cookie means?
What is difference between ksort() and usort() functions.
How to get no. of rows using MYSQL function?