25248 members & 48617 bookmarks   Submit A New Bookmark Register Login



PHP Tutorials Examples: Difference Between isset empty is-null

Quite often in code reviews I have come across code that checks for empty or null values, or if a variable is set. Many of these checks fail as the wrong function is being used to assert the correct value. While it is important to be checking values, it is equally important to understand the difference between the different methods of checking and testing values for empty, null, or if they are set.


Disclaimer: The bookmarks are submitted by users. We are allways trying to remove bad contents but it is slow and big task. So we make no warranties of content accuracy, use it at your own risk. Please help us by sending report about bad, harmful and copyright contents. Just send us an email to skybookmarks[at]gmail.com with reported page links. We will remove the reported contents as soon as possible.