foreach ($ints as $int) {
            if (!filter_var($this->$int, FILTER_VALIDATE_INT)) {
                $this->$int = 0;
            }
        }