3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str1 = "the cat is on the roof"; $str2 = "the mouse is on the roof"; $chars = similar_text($str1, $str2, $percent); echo $chars . "\n"; echo $percent;
Output for 4.3.0 - 7.1.7
19 82.608695652174