3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $width = 16; foreach (range(1, $width) as $i) { printf("%{$width}s\n", join(array_reverse(range(1, $i)))); }
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
1 21 321 4321 54321 654321 7654321 87654321 987654321 10987654321 1110987654321 121110987654321 13121110987654321 1413121110987654321 151413121110987654321 16151413121110987654321
Output for hhvm-3.10.0

Process exited with code 153.