php check if nested poroperties is set without warnings code example Example: php see if undefined if (isset($variable)) { /* do something */ };