<?php function rev($str) { return $str?rev(substr($str,1)).$str[0]:''; } $txt = "Thomas"; echo rev($txt);
You have javascript disabled. You will not be able to edit any code.