How to Define a Constant in PHP? Is $ symbol necessary?
Answer Posted / vaneet badhan
define(my,60);
echo my;
output will be 60.
define(my,vaneet);
echo my;
output will be vaneet
| Is This Answer Correct ? | 7 Yes | 12 No |
Post New Answer View All Answers
How can I convert ereg expressions to preg in php?
What are the advantages and disadvantages of cascade style sheets?
What are the rules for naming a php variable?
What is meant by PEAR in PHP?
What are the data types in php?
What is artisan in php?
What is the difference between for and foreach loop in php?
How is it possible to know the number of rows returned in result set?
What is difference between variable declaration and variable definition?
What is mvc php?
Is php a float?
Explain soundex() and metaphone().
How to create a text file in PHP?
Can you convert php to html?
What is cURL in PHP?