3v4l.org

run code in 300+ PHP versions simultaneously
<?php function string_reverse($str) { $temp = ''; for( $i = mb_strlen($str); $i >=0 ; $i--) { $temp.= $str{$i}; } return $temp; } echo string_reverse('Output') ;

This is an error 404

There are `0` results


preferences:
164.14 ms | 1398 KiB | 7 Q