3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i=1;$i<31;$i++) { if($i%3 == 0 && $i % 5 != 0) echo "<br>foo"; else if($i%5 == 0 && $i % 3 != 0) echo "<br>bar"; else if($i % 5 == 0 && $i % 3 == 0) echo "foobar"; else echo "<br>".$i; }
Output for git.master, git.master_jit, rfc.property-hooks
<br>1<br>2<br>foo<br>4<br>bar<br>foo<br>7<br>8<br>foo<br>bar<br>11<br>foo<br>13<br>14foobar<br>16<br>17<br>foo<br>19<br>bar<br>foo<br>22<br>23<br>foo<br>bar<br>26<br>foo<br>28<br>29foobar

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