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
Can php run without apache?
How to get no. of rows using MYSQL function?
Is php deprecated?
How to return ascii value of character in php?
How to increase the execution time of a PHP script?
What is session and Cokkies . How it works . tell some thing about Session_id()
How can we automatically escape incoming data?
List types of array are available in php?
How can we encrypt the password using php?
What are the benefits of using queries?
Why many companies are switching their current business language to php?
Is php a framework?
What is session data?
Whether it is possible to share a single instance of a memcache between multiple php projects?
How many types of php frameworks are there?