3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "<pre>\n"; $n=4; $max_length = $n * 2 - 1; for ($i = 1; $i <= $n * 2 - 1; $i++) { $this_n = ($i <= $n) ? $i : $n * 2 - $i; $num_ns = $this_n * 2 - 1; echo str_repeat(' ', ($max_length - $num_ns) / 2); echo str_repeat("$this_n", $num_ns); echo "\n"; } echo '</pre>';
Output for git.master, git.master_jit, rfc.property-hooks
<pre> 1 222 33333 4444444 33333 222 1 </pre>

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
27.98 ms | 405 KiB | 5 Q