Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Does php 7 support multiple inheritance?

1018


What is namespace and use in php?

991


What is ci in php?

1055


How to pass variables and data from php to javascript?

1035


What is a static variable in php?

1061


What is the difference between mysqli_fetch_object() and mysqli_fetch_array()?

1043


How to create and destroy cookies in php?

908


What is preg_match?

952


What is php and how do you use it?

999


What is good average session duration?

1023


Explain the importance of the function htmlentities.

998


How do you check if an arraylist is empty?

979


How to create a session? How to remove data from a session?

992


How do I start a php session?

991


How does php sessions work?

939