3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php similar_text("reight", "right", $percent); echo $percent . "<br>"; similar_text("reight", "rate", $percent); echo $percent . "<br>";
based on 6PfP8
Output for 4.3.0 - 7.1.0
90.909090909091<br>40<br>