Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Explanation for the down vote? He's not asking if they are the same, he's asking if he needs to check isset before checking empty. Commented Aug 25, 2011 at 14:01
  • I didn't downvote, but "use isset if you want to know it is not null" is not correct: $var = null; isset( $var ) == true. Commented Aug 25, 2011 at 14:05
  • From the PHP5/4 Manual: isset() - "Determine if a variable is set and is not NULL." us.php.net/manual/en/function.isset.php Commented Aug 25, 2011 at 14:07