3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = ['status.1', 'status.2', 'status.3', 'country.244', 'country.24', 'country.845', 'pm.4', 'pm.9', 'pm.6']; foreach ($data as $value) { [$prefix, $$prefix[]] = explode('.', $value, 2); } var_export($status); echo "\n"; var_export($country); echo "\n"; var_export($pm);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 16
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 16
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/4lEqb
function name:  (null)
number of ops:  29
compiled vars:  !0 = $data, !1 = $value, !2 = $prefix, !3 = $status, !4 = $country, !5 = $pm
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    8     1      > FE_RESET_R                                       $7      !0, ->16
          2    > > FE_FETCH_R                                               $7, !1, ->16
    9     3    >   INIT_FCALL                                               'explode'
          4        SEND_VAL                                                 '.'
          5        SEND_VAR                                                 !1
          6        SEND_VAL                                                 2
          7        DO_ICALL                                         $8      
          8        FETCH_LIST_R                                     $9      $8, 0
          9        ASSIGN                                                   !2, $9
         10        FETCH_LIST_R                                     $11     $8, 1
         11        FETCH_W                      local               $12     !2
         12        ASSIGN_DIM                                               $12
         13        OP_DATA                                                  $11
         14        FREE                                                     $8
    8    15      > JMP                                                      ->2
         16    >   FE_FREE                                                  $7
   11    17        INIT_FCALL                                               'var_export'
         18        SEND_VAR                                                 !3
         19        DO_ICALL                                                 
   12    20        ECHO                                                     '%0A'
   13    21        INIT_FCALL                                               'var_export'
         22        SEND_VAR                                                 !4
         23        DO_ICALL                                                 
   14    24        ECHO                                                     '%0A'
   15    25        INIT_FCALL                                               'var_export'
         26        SEND_VAR                                                 !5
         27        DO_ICALL                                                 
         28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.65 ms | 1007 KiB | 15 Q