3v4l.org

run code in 300+ PHP versions simultaneously
<?php $my_array = array(); $my_array['id'] = 4127 ; $my_array['nick'] = 'Jonas'; $my_array['dte79855545'] = 5; foreach ($my_array as $key => $value) { echo $key; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 12
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 12
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/pj36Y
function name:  (null)
number of ops:  14
compiled vars:  !0 = $my_array, !1 = $value, !2 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        ASSIGN_DIM                                               !0, 'id'
          2        OP_DATA                                                  4127
    6     3        ASSIGN_DIM                                               !0, 'nick'
          4        OP_DATA                                                  'Jonas'
    7     5        ASSIGN_DIM                                               !0, 'dte79855545'
          6        OP_DATA                                                  5
   11     7      > FE_RESET_R                                       $7      !0, ->12
          8    > > FE_FETCH_R                                       ~8      $7, !1, ->12
          9    >   ASSIGN                                                   !2, ~8
   13    10        ECHO                                                     !2
   11    11      > JMP                                                      ->8
         12    >   FE_FREE                                                  $7
   15    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
184.69 ms | 1384 KiB | 13 Q