3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo levenshtein("kissa","koira"); echo "\n"; if(levenshtein("kissa", "koira") > levehnstein("kissa", "hissi")){ echo "Koira wins"; } else { echo "Hissi wins"; }
Output for 7.0.0 - 7.2.0
3 Fatal error: Uncaught Error: Call to undefined function levehnstein() in /in/XPkSX:4 Stack trace: #0 {main} thrown in /in/XPkSX on line 4
Process exited with code 255.
Output for 5.3.22 - 5.6.28
3 Fatal error: Call to undefined function levehnstein() in /in/XPkSX on line 4
Process exited with code 255.