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
Why did you choose this particular career path?
What does == mean in php?
Please explain is it possible to use com component in php?
What is inheritance in php?
Tell me how to execute an sql query? How to fetch its result?
What is the use of header in php?
Is laravel an oop?
What is the best practice for running mysql queries in php? Consider the risk of sql injection.
How to increase the execution time of a PHP script?
What is difference between mysql_connect and mysqli_connect?
Explain Whitespace Characters?
What is magic quotes?
Php being an open source is there any support available to it?
How is it possible to propagate a session id?
What does php mean?