1<?php
2
3$sim = similar_text("hackers", "Hackathons", $percent);
4
5// To display the number of matching characters
6echo "Number of similar characters : $sim\n";
7
8// To display the percentage of matching characters
9echo "Percentage of similar characters : $percent\n";
10
11?>
12