How to differentiate isset and empty

Answer Posted / vijay

isset is used to check whether the variable is set or
not ...
where as empty is used to check whether variable contains a
value or not

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What should we do to be able to export data into an excel file?

767


Explain me difference between mysql_connect and mysql_pconnect?

739


Is php faster than javascript?

688


Tell me how is it possible to know the number of rows returned in result set?

810


How to call php function in jquery?

806


Does php 7 support multiple inheritance?

707


What beforeFilter() is used?

850


Which will check if a function exists?

835


What is ci in php?

744


What is the output of the ucwords function in this example?

763


What is the difference between htmlentities and htmlspecialchars in php?

705


Explain me what is the difference between explode() and split() functions?

772


List functions available to sort an php array?

745


What is the difference between require and include in php?

752


What is Different between Joomla And Magento?

2504