How to differentiate isset and empty
Answer Posted / p .g .senthilkumar
isset -> this variable handling functions determine whether
a variable is set . It checks whether a variable is set
even though it is empty.
empty -> as the term itself has already given a sign that
it would related to something that's empty, this variable
handling functions determine whether a variable is empty.
It checks whether a variable has a value whether it's empty
string, zero(0), or not set at all.
Is This Answer Correct ? | 36 Yes | 1 No |
Post New Answer View All Answers
Difference between $message vs. $$Message in php.
Is multiple inheritance supported in php?
Can I use php in visual studio?
Do while loops?
discuss the issue of software theft in ghana and how it has affected the economy
What is foreach loop in php?
How do you identify independent and dependent variables in research?
How long does a session last in php?
How can we know the total number of elements of Array?
What is difference between array_merge and array_combine in php?
What are regular expressions in programming?
Is python better than php?
How can I embed a java program in php file and what changes have to be done in php.ini file?
How can cross site request forgery csrf be prevented?
What is the difference between $name and $$name?