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); 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 = 22, Position 2 = 30
Branch analysis from position: 22
2 jumps found. (Code = 78) Position 1 = 23, Position 2 = 30
Branch analysis from position: 23
1 jumps found. (Code = 42) Position 1 = 22
Branch analysis from position: 22
Branch analysis from position: 30
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 30
filename:       /in/YKajr
function name:  (null)
number of ops:  32
compiled vars:  !0 = $pricingSlot, !1 = $value, !2 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_DIM_W                                      $3      !0, 0
          1        ASSIGN_DIM                                               $3, 'type'
          2        OP_DATA                                                  'he'
    4     3        FETCH_DIM_W                                      $5      !0, 0
          4        ASSIGN_DIM                                               $5, 'max'
          5        OP_DATA                                                  '5'
    5     6        FETCH_DIM_W                                      $7      !0, 0
          7        ASSIGN_DIM                                               $7, 'min'
          8        OP_DATA                                                  '1'
    6     9        FETCH_DIM_W                                      $9      !0, 1
         10        ASSIGN_DIM                                               $9, 'type'
         11        OP_DATA                                                  'she'
    7    12        FETCH_DIM_W                                      $11     !0, 1
         13        ASSIGN_DIM                                               $11, 'max'
         14        OP_DATA                                                  '15'
    8    15        FETCH_DIM_W                                      $13     !0, 1
         16        ASSIGN_DIM                                               $13, 'min'
         17        OP_DATA                                                  '2'
   10    18        INIT_FCALL                                               'print_r'
         19        SEND_VAR                                                 !0
         20        DO_ICALL                                                 
   12    21      > FE_RESET_R                                       $16     !0, ->30
         22    > > FE_FETCH_R                                       ~17     $16, !1, ->30
         23    >   ASSIGN                                                   !2, ~17
   13    24        CONCAT                                           ~19     'key+%3D+', !2
         25        ECHO                                                     ~19
   14    26        ECHO                                                     '%3Cbr%3E'
   15    27        CONCAT                                           ~20     'value+%3D+', !1
         28        ECHO                                                     ~20
   12    29      > JMP                                                      ->22
         30    >   FE_FREE                                                  $16
   18    31      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.46 ms | 1396 KiB | 15 Q