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
Which is better wamp or xampp?
Explain what are the two main string operators?
How does html form submit work?
What is difference between required and require_once in php?
How can we pass the variable through the navigation between the pages?
What is difference between static and constant in php?
Which function would you use to insert a record into a database in php?
How check field is empty or not in php?
What is array function in javascript?
What does a dependant variable mean?
Explain me how failures in execution are handled with include() and require() functions?
What is php crud api?
Tell me what is mean by an associative array?
Is laravel frontend or backend?
What is the importance of php?