3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pricingSlot['0']['type'] = 'he'; $pricingSlot['0']['max'] = '5'; $pricingSlot['0']['min'] = '1'; $pricingSlot['1']['type'] = 'she'; $pricingSlot['1']['max'] = '15'; $pricingSlot['1']['min'] = '2'; print_r($pricingSlot); $pricingSlot1[0][type] = 'he'; $pricingSlot1[0][max] = '5'; $pricingSlot1[0][min] = '1'; $pricingSlot1[1][type] = 'she'; $pricingSlot1[1][max] = '15'; $pricingSlot1[1][min] = '2'; print_r($pricingSlot1); foreach($pricingSlot as $key => $value) { echo 'key = '.$key; echo '<br>'; echo 'value = '.$value; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 49, Position 2 = 57
Branch analysis from position: 49
2 jumps found. (Code = 78) Position 1 = 50, Position 2 = 57
Branch analysis from position: 50
1 jumps found. (Code = 42) Position 1 = 49
Branch analysis from position: 49
Branch analysis from position: 57
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 57
filename:       /in/lttUE
function name:  (null)
number of ops:  59
compiled vars:  !0 = $pricingSlot, !1 = $pricingSlot1, !2 = $value, !3 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_DIM_W                                      $4      !0, 0
          1        ASSIGN_DIM                                               $4, 'type'
          2        OP_DATA                                                  'he'
    4     3        FETCH_DIM_W                                      $6      !0, 0
          4        ASSIGN_DIM                                               $6, 'max'
          5        OP_DATA                                                  '5'
    5     6        FETCH_DIM_W                                      $8      !0, 0
          7        ASSIGN_DIM                                               $8, 'min'
          8        OP_DATA                                                  '1'
    6     9        FETCH_DIM_W                                      $10     !0, 1
         10        ASSIGN_DIM                                               $10, 'type'
         11        OP_DATA                                                  'she'
    7    12        FETCH_DIM_W                                      $12     !0, 1
         13        ASSIGN_DIM                                               $12, 'max'
         14        OP_DATA                                                  '15'
    8    15        FETCH_DIM_W                                      $14     !0, 1
         16        ASSIGN_DIM                                               $14, 'min'
         17        OP_DATA                                                  '2'
   10    18        INIT_FCALL                                               'print_r'
         19        SEND_VAR                                                 !0
         20        DO_ICALL                                                 
   12    21        FETCH_CONSTANT                                   ~18     'type'
         22        FETCH_DIM_W                                      $17     !1, 0
         23        ASSIGN_DIM                                               $17, ~18
         24        OP_DATA                                                  'he'
   13    25        FETCH_CONSTANT                                   ~21     'max'
         26        FETCH_DIM_W                                      $20     !1, 0
         27        ASSIGN_DIM                                               $20, ~21
         28        OP_DATA                                                  '5'
   14    29        FETCH_CONSTANT                                   ~24     'min'
         30        FETCH_DIM_W                                      $23     !1, 0
         31        ASSIGN_DIM                                               $23, ~24
         32        OP_DATA                                                  '1'
   15    33        FETCH_CONSTANT                                   ~27     'type'
         34        FETCH_DIM_W                                      $26     !1, 1
         35        ASSIGN_DIM                                               $26, ~27
         36        OP_DATA                                                  'she'
   16    37        FETCH_CONSTANT                                   ~30     'max'
         38        FETCH_DIM_W                                      $29     !1, 1
         39        ASSIGN_DIM                                               $29, ~30
         40        OP_DATA                                                  '15'
   17    41        FETCH_CONSTANT                                   ~33     'min'
         42        FETCH_DIM_W                                      $32     !1, 1
         43        ASSIGN_DIM                                               $32, ~33
         44        OP_DATA                                                  '2'
   19    45        INIT_FCALL                                               'print_r'
         46        SEND_VAR                                                 !1
         47        DO_ICALL                                                 
   21    48      > FE_RESET_R                                       $36     !0, ->57
         49    > > FE_FETCH_R                                       ~37     $36, !2, ->57
         50    >   ASSIGN                                                   !3, ~37
   22    51        CONCAT                                           ~39     'key+%3D+', !3
         52        ECHO                                                     ~39
   23    53        ECHO                                                     '%3Cbr%3E'
   24    54        CONCAT                                           ~40     'value+%3D+', !2
         55        ECHO                                                     ~40
   21    56      > JMP                                                      ->49
         57    >   FE_FREE                                                  $36
   27    58      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.06 ms | 1392 KiB | 15 Q