3v4l.org

run code in 300+ PHP versions simultaneously
<?php $alerts_array = [ [ "CustomAlertsID" => 3, "CustomAlerts_Name" => "title demo", "CustomAlerts_PublishDate" => "2016-07-03", "CustomAlerts_ExpiryDate" => "2016-07-21" ] ]; $singlebtn_array = [ "button_text0" => "Button Name1only", "button_text1" => "button name2", "button_text2" => "button name3_new" ]; var_dump($alerts_array = array_merge($alerts_array,$singlebtn_array));
Output for git.master, git.master_jit, rfc.property-hooks
array(4) { [0]=> array(4) { ["CustomAlertsID"]=> int(3) ["CustomAlerts_Name"]=> string(10) "title demo" ["CustomAlerts_PublishDate"]=> string(10) "2016-07-03" ["CustomAlerts_ExpiryDate"]=> string(10) "2016-07-21" } ["button_text0"]=> string(16) "Button Name1only" ["button_text1"]=> string(12) "button name2" ["button_text2"]=> string(16) "button name3_new" }

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:
27.33 ms | 406 KiB | 5 Q