<?php function rev($str) { if ( ! $str ) { return; } return rev(substr($str,1)).$str[0]; } echo rev('hola mundos');
You have javascript disabled. You will not be able to edit any code.