similar_text
statamic/cms
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Calculate the similarity between two strings
<?php similar_text
(
string $string1
,
string $string2
,
float
&
$percent
=
null
):
int