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