3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fruit["apple"] = "リンゴ"; $fruit["orange"] = "ミカン"; $fruit["grape"] = "ブドウ"; foreach ($fruit as $key => $value) { print_r($value); echo '<br>'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 14
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 14
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/1nBYY
function name:  (null)
number of ops:  16
compiled vars:  !0 = $fruit, !1 = $value, !2 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_DIM                                               !0, 'apple'
          1        OP_DATA                                                  '%E3%83%AA%E3%83%B3%E3%82%B4'
    3     2        ASSIGN_DIM                                               !0, 'orange'
          3        OP_DATA                                                  '%E3%83%9F%E3%82%AB%E3%83%B3'
    4     4        ASSIGN_DIM                                               !0, 'grape'
          5        OP_DATA                                                  '%E3%83%96%E3%83%89%E3%82%A6'
    7     6      > FE_RESET_R                                       $6      !0, ->14
          7    > > FE_FETCH_R                                       ~7      $6, !1, ->14
          8    >   ASSIGN                                                   !2, ~7
    8     9        INIT_FCALL                                               'print_r'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                                 
    9    12        ECHO                                                     '%3Cbr%3E'
    7    13      > JMP                                                      ->7
         14    >   FE_FREE                                                  $6
   10    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.83 ms | 1395 KiB | 15 Q