3v4l.org

run code in 300+ PHP versions simultaneously
<?php $vals = [ 221, 9464, 2089, 17818, 2808, ]; $total = 0; foreach ($vals as $v) { echo '<br> + ' . $v; $total += $v; } echo '<br> = ' . $total;
Output for git.master, git.master_jit, rfc.property-hooks
<br> + 221<br> + 9464<br> + 2089<br> + 17818<br> + 2808<br> = 32400

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:
53.54 ms | 401 KiB | 8 Q