3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = "abcd"; $len = strlen($str); $pos = floor($len/2); for($i = $len; $i > $pos; $i--) { echo ord($str[$i-1])."\n"; }
based on OtlMO
Output for 4.3.0 - 7.2.0
100 99