3v4l.org

run code in 300+ PHP versions simultaneously
<?php $parent = array( 'one' => 'ONE', 'three' => 'THREE', ); $extended = array( 'two' => 'TWO', 'three' => '3', 'four' => 'FOUR', ); var_dump($parent, $extended, array_replace_recursive($parent, $extended));
Output for git.master, git.master_jit, rfc.property-hooks
array(2) { ["one"]=> string(3) "ONE" ["three"]=> string(5) "THREE" } array(3) { ["two"]=> string(3) "TWO" ["three"]=> string(1) "3" ["four"]=> string(4) "FOUR" } array(4) { ["one"]=> string(3) "ONE" ["three"]=> string(1) "3" ["two"]=> string(3) "TWO" ["four"]=> string(4) "FOUR" }

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