I feel like I\'m missing something here. I\'ve been using PHP\'s empty() function for quite a while now in determining if a variable is empty. I wanted to use it to
empty()
if (empty(($person->number))) /* OR */ if (!isset($person->nothing) || empty(($person->nothing)))
Putting () around the Object->Property value will force it to be evaluated prior to calling empty.