Test HTTP Requests Tools Blog PHP Quiz API Log In With Github
Test HTTP Requests Tools Blog PHP Quiz API Log In With Github
We have updated the website and our policies to make sure your privacy rights and security are respected.
Click here to learn more about the way our website handles your data.

Remove this message.

is_null vs empty vs isset... One lesson all PHP coders should learn

Daniel Gheorghe Difficulty: 25 / 50
empty tin can

PHP has a lot of ways of dealing with variable checking. There are functions that check each type like is_array, is_object or is_bool and there are functions that can be used to check multiple conditions at once. Today we will be dealing with the differences between is_null(), empty() and isset(). First let's explain what each one does.

Read Full Article...

1 2 3