3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mes = array ('Gener', 'Febrer', 'Marc', 'Abril', 'Maig', 'Juny', 'Juliol', 'Agost', 'Septembre', 'Octubre', 'Novembre', 'Desembre'); $dia["Gener"] = "31"; $dia["Febrer"] = "29"; $dia["Marc"] = "31"; $dia["Abril"] = "30"; $dia["Maig"] = "31"; $dia["Juny"] = "30"; $dia["Juliol"] = "31"; $dia["Agost"] = "31"; $dia["Septembre"] = "30"; $dia["Octubre"] = "31"; $dia["Novembre"] = "30"; $dia["Desembre"] = "31"; $num=0; echo "<table border=1>"; echo "<tr>"; do{ echo "<td>$mes[$num]</td>"; $diastotal=$mes[$num]; echo "<td>$dia[$diastotal]</td>"; $num++; } while($num<count($mes)); echo "</tr>"; echo "</table>"; ?>
Output for git.master, git.master_jit, rfc.property-hooks
<table border=1><tr><td>Gener</td><td>31</td><td>Febrer</td><td>29</td><td>Marc</td><td>31</td><td>Abril</td><td>30</td><td>Maig</td><td>31</td><td>Juny</td><td>30</td><td>Juliol</td><td>31</td><td>Agost</td><td>31</td><td>Septembre</td><td>30</td><td>Octubre</td><td>31</td><td>Novembre</td><td>30</td><td>Desembre</td><td>31</td></tr></table>

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:
42.05 ms | 402 KiB | 8 Q