3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function reverseString($string = 'nice') { } function rev($str) { return $str?rev(substr($str,1)).$str[0]:''; } echo rev('ivanka');
Output for 4.3.0 - 7.2.0
aknavi