3v4l.org

run code in 300+ PHP versions simultaneously
<?php $marks = array( array ( "0" => 35, "1" => 30, "2" => 39 ), array ( "0" => 30, "1" => 32, "2" => 29 ), array ( "0" => 31, "1" => 22, "2" => 39 ) ); echo '<table style="width:100%"><tr><th>Firstname</th><th>Lastname</th><th>Age</th></tr>'; foreach ($marks as $row){ echo '<tr> <td>'.$row[0].'</td> <td>'.$row[1].'</td> <td>'.$row[2].'</td> </tr>'; } echo '</table>';
Output for git.master, git.master_jit, rfc.property-hooks
<table style="width:100%"><tr><th>Firstname</th><th>Lastname</th><th>Age</th></tr><tr> <td>35</td> <td>30</td> <td>39</td> </tr><tr> <td>30</td> <td>32</td> <td>29</td> </tr><tr> <td>31</td> <td>22</td> <td>39</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.95 ms | 402 KiB | 8 Q