<?php function string_reverse($str) { $temp = ''; for($j=0, $i = mb_strlen($str); $j< $i; $j++) { $temp.= $str{$i-$j-1}; } return $temp; } string_reverse('Output') ;
You have javascript disabled. You will not be able to edit any code.