3v4l.org

run code in 300+ PHP versions simultaneously
<?php $peak = 5; for ($i = $peak; $i; --$i) { for ($n = $i; $n <= $peak; ++$n) { echo $n; } echo "\n"; }

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
44.92 ms | 1475 KiB | 4 Q