3v4l.org

run code in 300+ PHP versions simultaneously
<?php $channelPlacementsArr = [ ['title' => 'Title 1', 'value' => 1], ['title' => 'Title 2', 'value' => 2], ['title' => 'Title 2', 'value' => 3] ]; $oldToNewPlacementColMap = [ 'text_ad_placement' => 'text_ad_channel_placement' , 'ad_fb_stat_text_ad_placement' => 'ad_fb_stat_text_ad_channel_placement' , 'text_ad_fb_stat_text_ad_placement' => 'text_ad_fb_stat_text_ad_channel_placement' , 'splits_recipe_placement' => 'splits_recipe_channel_placement' , 'aff_campaign_placement' => 'aff_campaign_channel_placement' , 'ad_keyword_stat_text_ad_placement' => 'ad_keyword_stat_text_ad_channel_placement' , 'ad_search_terms_stat_text_ad_placement' => 'ad_search_terms_stat_text_ad_channel_placement' ]; echo in_array('text_ad_channel_placement', $oldToNewPlacementColMap);
Output for git.master, git.master_jit, rfc.property-hooks
1

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