Ver originalfunction point($var){if (preg_match("/$.+/", $var){return false;}else{$var .= '.';return $var;}}point($text2);