3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo similar_text('Lara', 'Laravel', $p); echo PHP_EOL; echo $p;
based on dhMoj
Output for 4.3.10 - 4.4.9, 5.0.2 - 5.3.27, 5.3.29 - 7.2.0
4 72.727272727273
Output for 5.3.28

Process exited with code 137.
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.1
4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/h61Gg on line 4 PHP_EOL72.727272727273