3v4l.org

run code in 300+ PHP versions simultaneously
<?php $results = [ ['id' => 111, 'rec_date' => '2025-05-10'], ['id' => 222, 'rec_date' => '2025-05-12'], ['id' => 333, 'rec_date' => '2025-05-14'], ]; ?> <table> <?php foreach ($results as $row): ?> <tr> <td class="mid"><a href="http://www.abc.co.uk/edit2.php?ident=<?= $row['id'] ?>"> <?= $row['rec_date'] ?></a></td> </tr> <?php endforeach ?> </table>
Output for git.master, git.master_jit
<table> <tr> <td class="mid"><a href="http://www.abc.co.uk/edit2.php?ident=111"> 2025-05-10</a></td> </tr> <tr> <td class="mid"><a href="http://www.abc.co.uk/edit2.php?ident=222"> 2025-05-12</a></td> </tr> <tr> <td class="mid"><a href="http://www.abc.co.uk/edit2.php?ident=333"> 2025-05-14</a></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:
32.12 ms | 406 KiB | 5 Q