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 key in array php?
What is php built on?
What is the difference between laravel and php?
Is php coding easy?
Php error constants and their descriptions
What is php beginner?
What is a namespace in php?
Tell me what is the main difference between require() and require_once()?
What is echo in html?
Explain the difference between mysql_connect and mysql_pconnect?
What are the options to transfer session ids?
Is php an array?
What exactly is PHP?
Is echo a function in php?
Write a program in php to reverse a number?