3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for($i=9;$i>1;){$r[]=$i--;echo str_replace($r,' ','1234567887654321')."\r";}
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
1234567887654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1