3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $width = 9; foreach (range(1, $width) as $i) { print_r("%{$width}s\n", join(array_reverse(range(1, $i)))); }
Output for 4.3.0 - 7.1.7