3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function rev($str) { if ( ! $str ) { return; } return rev(substr($str,1)); } echo rev('hola mundos ninos');
Output for 4.3.0 - 7.1.10