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

What is the purpose of the '.myd' file extension? What do thes file contain?

754


Tell me how is it possible to propagate a session id?

813


How can php and javascript interact?

966


Which database is best for php?

757


What is prepare in php?

763


Tell me how would you declare a function that receives one parameter name hello?

741


What is helper library?

712


What is full form of PHP?

808


Why would we use === instead of ==?

8601


What is $_session in php?

746


How to write a program to make chess?

763


What is api laravel?

759


What is the use of count() function in php?

729


Tell me what is the definition of a session?

729


What is whitespace in html?

714