3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result = []; $result[] = new StdClass; $result[] = new StdClass; $result[0]->dataid = 925977; $result[0]->camp_id = 2003001; $result[0]->cid = "xy"; $result[1]->dataid = 925977; $result[1]->camp_id = 2003001; $result[1]->cid = "xy"; $columns = array_keys((array)$result[0]); echo "<table border='1'><tr>"; foreach($columns as $column) echo "<th>$column</th>"; echo "</tr>"; if(isset($result)) { foreach ($result as $row) { echo "<tr>"; foreach($columns as $column) echo "<td>" . $row->$column . "</td>"; echo "</tr>"; } } echo "</table>";
Output for git.master, git.master_jit, rfc.property-hooks
<table border='1'><tr><th>dataid</th><th>camp_id</th><th>cid</th></tr><tr><td>925977</td><td>2003001</td><td>xy</td></tr><tr><td>925977</td><td>2003001</td><td>xy</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:
44.69 ms | 402 KiB | 8 Q