3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $width = 9; foreach (range(1, $widthgg) as $i) { printf("%{$width}s\n", join(range(1, $i))); }
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: widthgg in /in/jhru1 on line 5 1 10
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: widthgg in /in/jhru1 on line 5 1 10