3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_POST = [ 'db_num' => ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10'], 'db_amnt' => ['100', '125', '150', '175', '200', '225', '250', '275', '300', '325'] ]; foreach ($_POST['db_num'] as $key => $num) { $amnt = $_POST['db_amnt'][$key]; echo "\n {$num} & {$amnt}"; }
Output for git.master, git.master_jit, rfc.property-hooks
1 & 100 2 & 125 3 & 150 4 & 175 5 & 200 6 & 225 7 & 250 8 & 275 9 & 300 10 & 325

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:
15.03 ms | 405 KiB | 5 Q