3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.84 ms | 1393 KiB | 13 Q