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