3v4l.org

run code in 300+ PHP versions simultaneously
<?php $radius = 100; $elements = 9; $sum = $elements; for ($i = 0; $i < $elements; $i++) { $sum += pow(2, $i); } print "|"; $pos = 1; for ($i = 1; $i < $elements; $i++) { print str_repeat(" ", (int) round($radius * $pos / $sum)) . "|"; $pos += pow(2, $i) + 1; }
Output for rfc.property-hooks, git.master, git.master_jit
|| | | | | | | |

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:
98.22 ms | 1977 KiB | 4 Q