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);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ckFvq
function name:  (null)
number of ops:  8
compiled vars:  !0 = $channelPlacementsArr, !1 = $oldToNewPlacementColMap
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    9     1        ASSIGN                                                   !1, <array>
   18     2        INIT_FCALL                                               'in_array'
          3        SEND_VAL                                                 'text_ad_channel_placement'
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                         $4      
          6        ECHO                                                     $4
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.82 ms | 1394 KiB | 15 Q