3v4l.org

run code in 300+ PHP versions simultaneously
<table style='width:100%'> <?php if ($result->num_rows > 0) { // output data of each row while($row = $result->fetch_assoc()) { ?> <tr> <th><?= $row['placement']; ?></th> <th><?= $row['team']; ?></th> <th><?= $row['played']; ?></th> <th><?= $row['won']; ?></th> <th><?= $row['tied']; ?></th> <th><?= $row['loss']; ?></th> <th><?= $row['goaldifference']; ?></th> <th><?= $row['points']; ?></th> </tr> <br><br> <?php } } ?> </table>
Output for git.master, git.master_jit, rfc.property-hooks
<table style='width:100%'> Warning: Undefined variable $result in /in/6Kskq on line 3 Warning: Attempt to read property "num_rows" on null in /in/6Kskq on line 3 </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:
35.31 ms | 401 KiB | 8 Q