unset() doesn't care if the array index exists or not. In any case it will continue without any warning or error.