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 many ways to include variables in double-quoted strings in php?
How long is csrf token?
What is the difference between fopen() and fclose()?
How would you open a directory for reading in php?
What is the use of get and post method in php?
How be the result set of mysql handled in php?
What is the use of @ in php?
Is php faster than javascript?
Which methods should be used for sending an email using the variables $to, $subject, and $body?
Explain how is it possible to set an infinite execution time for php script?
How to get the ip address of the client?
What is Gd PHP?
What is difference between count or sizeof function in php?
Write a query to find the 2nd highest salary of an employee from the employee table?
Is it easy to learn wordpress?