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
Can php use gettext?
How to convert a json string to an array in php?
What is the use of count() function in php?
Who is known as the father of php?
I need to know about the courses which are useful in corporate companies.. especially php/mySQL, Java/j2ee, .NET.. also tell if any other courses are valuable
What do you mean by having php as whitespace insensitive?
How to get number of days between two given dates using PHP?
What is difference between rest and http?
How can you submit a form without a submit button?
What is mysql_real_escape_string used for?
Explain php parameterized functions.
Explain how we can retrieve the data in the result set of mysql using php?
Is php faster than nodejs?
Is php a middleware?
What is the apache?