How to differentiate isset and empty

Answer Posted / rahul shelar

isset is used for checking whether variable is set or not
and empty checks whether it is empty

Is This Answer Correct ?    19 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you declare a constant variable in php?

806


Is php easier than node?

722


What is the difference between fopen() and fclose()?

853


Why many companies are switching their current business language to php? Where php basically used?

718


What is mysql_fetch_object?

787


What exactly is validating and sanitizing?

815


Does php has a future?

700


What is the most common http method?

791


Php being an open source is there any support available to it?

856


Write down the code for save an uploaded file using php?

661


How to check an key is exists in array?

766


How we can declare variable in php?

755


Tell me how to create a text file in php?

781


What is a session in php?

776


What's the difference between using mysql_ functions and pdo?

786