Gen. partnerAlgotech

PHP funkce similar_text()

Calculate the similarity between two strings

|
11. září 2019

Dostupnost ve verzích: PHP 4.0

Calculate the similarity between two strings

Parametry

Parametr Datový typ Výchozí hodnota Poznámka
$first string není The first string.
$second string není The second string.
$percent float null By passing a reference as third argument, similar_text will calculate the similarity in percent for you.

int

the number of matching chars in both strings.

Další zdroje

Oficiální dokumentace funkce similar-text

Načítání komentářů...

Zůstaňte v obraze

Přihlaste se k odběru našeho newsletteru a získejte nejnovější informace o kybernetické bezpečnosti přímo do vaší e-mailové schránky.

Vaše údaje jsou v bezpečí. Newsletter můžete kdykoliv odhlásit.