Is there a difference between isset and !empty. If I do this double boolean check, is it correct this way or redundant? and is there a shorter way to do the same thing?

isset($vars[1]) AND !empty($vars[1])

10 Answers
10

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *