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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.03 ms | 1395 KiB | 13 Q