3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hubspot_country = 'United State'; $country_map = array('United States' => 'US'); $address_part = 'country'; $admin_contact_information = array(); $admin_contact_information[$address_part] = isset($country_map[$hubspot_country]) ? $country_map[$hubspot_country] : 'no set'; var_dump($admin_contact_information[$address_part]); ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 9
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RAXCo
function name:  (null)
number of ops:  17
compiled vars:  !0 = $hubspot_country, !1 = $country_map, !2 = $address_part, !3 = $admin_contact_information
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'United+State'
    3     1        ASSIGN                                                   !1, <array>
    4     2        ASSIGN                                                   !2, 'country'
    5     3        ASSIGN                                                   !3, <array>
    6     4        ISSET_ISEMPTY_DIM_OBJ                         0          !1, !0
          5      > JMPZ                                                     ~9, ->9
          6    >   FETCH_DIM_R                                      ~10     !1, !0
          7        QM_ASSIGN                                        ~11     ~10
          8      > JMP                                                      ->10
          9    >   QM_ASSIGN                                        ~11     'no+set'
         10    >   ASSIGN_DIM                                               !3, !2
         11        OP_DATA                                                  ~11
    7    12        INIT_FCALL                                               'var_dump'
         13        FETCH_DIM_R                                      ~12     !3, !2
         14        SEND_VAL                                                 ~12
         15        DO_ICALL                                                 
    8    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
184.61 ms | 1386 KiB | 15 Q