3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array(); $arr['inpMisc'] = array(); $arr['inpMisc'][0]['name'] = "my stuff"; $arr['inpMisc'][0]['inpMiscOrdered'] = "2"; $arr['inpMisc'][0]['inpMiscReceived'] = "0"; foreach ($arr as $idxA => $valA) { foreach ($valA as $idxB => $valB) { echo "$idxA :: $valA :: $idxB :: $valB"; } } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 16, Position 2 = 32
Branch analysis from position: 16
2 jumps found. (Code = 78) Position 1 = 17, Position 2 = 32
Branch analysis from position: 17
2 jumps found. (Code = 77) Position 1 = 19, Position 2 = 30
Branch analysis from position: 19
2 jumps found. (Code = 78) Position 1 = 20, Position 2 = 30
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
Branch analysis from position: 30
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
Branch analysis from position: 30
Branch analysis from position: 32
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 32
filename:       /in/22H8q
function name:  (null)
number of ops:  34
compiled vars:  !0 = $arr, !1 = $valA, !2 = $idxA, !3 = $valB, !4 = $idxB
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <array>
    5     1        ASSIGN_DIM                                               !0, 'inpMisc'
          2        OP_DATA                                                  <array>
    6     3        FETCH_DIM_W                                      $7      !0, 'inpMisc'
          4        FETCH_DIM_W                                      $8      $7, 0
          5        ASSIGN_DIM                                               $8, 'name'
          6        OP_DATA                                                  'my+stuff'
    7     7        FETCH_DIM_W                                      $10     !0, 'inpMisc'
          8        FETCH_DIM_W                                      $11     $10, 0
          9        ASSIGN_DIM                                               $11, 'inpMiscOrdered'
         10        OP_DATA                                                  '2'
    8    11        FETCH_DIM_W                                      $13     !0, 'inpMisc'
         12        FETCH_DIM_W                                      $14     $13, 0
         13        ASSIGN_DIM                                               $14, 'inpMiscReceived'
         14        OP_DATA                                                  '0'
   10    15      > FE_RESET_R                                       $16     !0, ->32
         16    > > FE_FETCH_R                                       ~17     $16, !1, ->32
         17    >   ASSIGN                                                   !2, ~17
   12    18      > FE_RESET_R                                       $19     !1, ->30
         19    > > FE_FETCH_R                                       ~20     $19, !3, ->30
         20    >   ASSIGN                                                   !4, ~20
   13    21        ROPE_INIT                                     7  ~23     !2
         22        ROPE_ADD                                      1  ~23     ~23, '+%3A%3A+'
         23        ROPE_ADD                                      2  ~23     ~23, !1
         24        ROPE_ADD                                      3  ~23     ~23, '+%3A%3A+'
         25        ROPE_ADD                                      4  ~23     ~23, !4
         26        ROPE_ADD                                      5  ~23     ~23, '+%3A%3A+'
         27        ROPE_END                                      6  ~22     ~23, !3
         28        ECHO                                                     ~22
   12    29      > JMP                                                      ->19
         30    >   FE_FREE                                                  $19
   10    31      > JMP                                                      ->16
         32    >   FE_FREE                                                  $16
   19    33      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.06 ms | 1395 KiB | 13 Q