3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = "ZEESHAN"; $reverse = ""; for($i = strlen($string)-1; $i >= 0; $i--){ $reverse .= $string[$i]; } echo $reverse;
based on rr82s
Output for 5.3.21 - 7.2.0
NAHSEEZ