@ 2018-02-28T19:50:30Z <?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);
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 7.1.0 - 7.1.20 , 7.2.0 - 7.2.33 , 7.3.16 - 7.3.33 , 7.4.0 - 7.4.33 , 8.0.0 - 8.0.30 , 8.1.0 - 8.1.28 , 8.2.0 - 8.2.18 , 8.3.0 - 8.3.4 , 8.3.6 1 Output for 8.3.5 Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 preferences:dark mode live preview
179.25 ms | 402 KiB | 157 Q