public function distance($text1, $text2)
    {
        return levenshtein($text1, $text2, $this->insertCost, $this->replaceCost, $this->deleteCost);
    }
public function distance($text1, $text2)
    {
        return levenshtein($text1, $text2, $this->insertCost, $this->replaceCost, $this->deleteCost);
    }
public function distance ( $ text1 , $ text2 ) { return levenshtein ( $ text1 , $ text2 , $ this -> insertCost , $ this -> replaceCost , $ this -> deleteCost ) ; }
Return the levenshtein distance, default costs of 1 applied
@param string $text1
@param string $text2
@return int
Return the levenshtein distance default costs of 1 applied