Determine the similarity between two strings is provided by the similar_text function : similar_text « String « PHP






Determine the similarity between two strings is provided by the similar_text function

 
<?php
    $matches = similar_text ('see', 'say', &$per);
    echo "Matches: $matches - Percentage: $per\n";
?>
  
  








Related examples in the same category

1.Checking for Similar Names