3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $width = 9; foreach (range('-', $width) as $i) { printf("%{$width}s\n", join(array_reverse(range(1, $i)))); }
Output for 4.3.0 - 7.3.0rc6
01 1 21 321 4321 54321 654321 7654321 87654321 987654321