3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array(); $arr[1] = array('p' => 3, 'id' => 4); $arr[2] = array('p' => 2, 'id' => 3); $arr[3] = array('p' => 1, 'id' => 2); $arr[4] = array('p' => 0, 'id' => 1); foreach($arr as $ind => $itm) { print_r($itm); echo('<br>'); }
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [p] => 3 [id] => 4 ) <br>Array ( [p] => 2 [id] => 3 ) <br>Array ( [p] => 1 [id] => 2 ) <br>Array ( [p] => 0 [id] => 1 ) <br>

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:
45.26 ms | 401 KiB | 8 Q