3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s=0; for($r=1; $s>=$r; $r++) { for($p=$s-$r; $p>=1; $p--) echo(" "); for($c=1; $c<=$r; $c++) print_r($c); for($x=$r-1; $x>=1; $x--) print_r($x); }
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
Output for hhvm-3.10.0

Process exited with code 153.