3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = range('a', 'z'); foreach ($arr as $char) { printf("%s,%s", $char, '\r'); }
based on 9QjS8
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
a,\rb,\rc,\rd,\re,\rf,\rg,\rh,\ri,\rj,\rk,\rl,\rm,\rn,\ro,\rp,\rq,\rr,\rs,\rt,\ru,\rv,\rw,\rx,\ry,\rz,\r