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'; 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 = 19, Position 2 = 27
Branch analysis from position: 19
2 jumps found. (Code = 78) Position 1 = 20, Position 2 = 27
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
Branch analysis from position: 27
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 27
filename:       /in/YASVb
function name:  (null)
number of ops:  29
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      > FE_RESET_R                                       $15     !0, ->27
         19    > > FE_FETCH_R                                       ~16     $15, !1, ->27
         20    >   ASSIGN                                                   !2, ~16
   11    21        CONCAT                                           ~18     'key+%3D+', !2
         22        ECHO                                                     ~18
   12    23        ECHO                                                     '%3Cbr%3E'
   13    24        CONCAT                                           ~19     'value+%3D+', !1
         25        ECHO                                                     ~19
   10    26      > JMP                                                      ->19
         27    >   FE_FREE                                                  $15
   16    28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.49 ms | 1395 KiB | 13 Q