3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = Array ( Array ( "StorePartyId" => 10462791, "StoreId" => 4, "PartyName" => "AMAR MEDICO", "PartyCode" => 6840, ), Array ( "StorePartyId" => 10463839, "StoreId" => 4, "PartyName" => "NEW SAVE MEDICINE SHOPEE", "PartyCode" => 8236 ) ); $arr2 = Array ( Array ( "PartyName" => "AMAR MEDICO_updated" ), Array ( "PartyName" => "NEW SAVE MEDICINE SHOPEE_updated" ) ); var_dump(array_replace_recursive($arr,$arr2));
Output for git.master, git.master_jit, rfc.property-hooks
array(2) { [0]=> array(4) { ["StorePartyId"]=> int(10462791) ["StoreId"]=> int(4) ["PartyName"]=> string(19) "AMAR MEDICO_updated" ["PartyCode"]=> int(6840) } [1]=> array(4) { ["StorePartyId"]=> int(10463839) ["StoreId"]=> int(4) ["PartyName"]=> string(32) "NEW SAVE MEDICINE SHOPEE_updated" ["PartyCode"]=> int(8236) } }

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