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
How to track no of user logged in?
Is laravel better than codeigniter?
Is PHP an open source software?
Is python easier than php?
What should be the length of variable for SHA256?
What is prepared statement in php?
Explain setcookie() function in php?
What is the use of mysqli_real_escape_string() function?
Why use php artisan serve?
Which is best framework for php?
What is php and what does it do?
How to do single and multi line comment in php?
Do I need to install php after xampp?
how to track user logged out or not? when a user is idle?
What are the two types of variables?