Calculate the similarity between two strings and return the matching characters:
<?php
echo similar_text("Hello World","Hello Peter");
?>
by გიორგი ბაკაშვილი
4 years ago
PHP
String
PHP official doc
3
Pro tip: use ```triple backticks around text``` to write in code fences