3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(array('name' => 'Joe'), array('name' => 'Noe')); var_dump($a); $b = array_fill('0', count($a), array('insert_stamp' => 10)); var_dump(array_replace_recursive($a, $b));
Output for git.master, git.master_jit, rfc.property-hooks
array(2) { [0]=> array(1) { ["name"]=> string(3) "Joe" } [1]=> array(1) { ["name"]=> string(3) "Noe" } } array(2) { [0]=> array(2) { ["name"]=> string(3) "Joe" ["insert_stamp"]=> int(10) } [1]=> array(2) { ["name"]=> string(3) "Noe" ["insert_stamp"]=> int(10) } }

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:
41.53 ms | 402 KiB | 8 Q