3v4l.org

run code in 300+ PHP versions simultaneously
<?php // imagine these are the rows parsed from your csv file $csv = [ ['a', 'b', 'c'], ['d', 'e', 'f'], ['g', 'h', 'i'] ]; // here's your template: ?> <table> <tr> <th>column 1</th> <th>column 2</th> <th>column 3</th> </tr> <?php foreach ($csv as $row) { ?> <tr> <td><?= $row[0] ?></td> <td><?= $row[1] ?></td> <td><?= $row[2] ?></td> </tr> <?php } ?> </table>
Output for git.master, git.master_jit, rfc.property-hooks
<table> <tr> <th>column 1</th> <th>column 2</th> <th>column 3</th> </tr> <tr> <td>a</td> <td>b</td> <td>c</td> </tr> <tr> <td>d</td> <td>e</td> <td>f</td> </tr> <tr> <td>g</td> <td>h</td> <td>i</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:
22.07 ms | 402 KiB | 8 Q