3v4l.org

run code in 300+ PHP versions simultaneously
<?php $total = 0; for ($i = 1; $i <= 10; $i++) { for ($j = 10; $j >=1 ; $j++) { $total = $i + $j; echo "$i + $j = $total"; break; } } $total = $total / 2; print $total."<br/>";
Output for git.master, git.master_jit, rfc.property-hooks
1 + 10 = 112 + 10 = 123 + 10 = 134 + 10 = 145 + 10 = 156 + 10 = 167 + 10 = 178 + 10 = 189 + 10 = 1910 + 10 = 2010<br/>

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