protected function fillAddress(&$input, $char = '*') { while (substr_count($input, '.') < 3) { $input .= '.' . $char; } }