3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array(array(1,2,3),array(4,5,6),array(7,8,9)); $myArr = ''; for($i = 0; $i < 3; $i++){ for($j = 0; $j < 3; $j++){ echo $arr[$i][$j].' '; } echo '- '; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 4
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 6
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 4
Branch analysis from position: 17
Branch analysis from position: 4
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 6
Branch analysis from position: 13
Branch analysis from position: 6
filename:       /in/mo7DS
function name:  (null)
number of ops:  18
compiled vars:  !0 = $arr, !1 = $myArr, !2 = $i, !3 = $j
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, ''
    5     2        ASSIGN                                                   !2, 0
          3      > JMP                                                      ->15
    6     4    >   ASSIGN                                                   !3, 0
          5      > JMP                                                      ->11
    7     6    >   FETCH_DIM_R                                      ~8      !0, !2
          7        FETCH_DIM_R                                      ~9      ~8, !3
          8        CONCAT                                           ~10     ~9, '+'
          9        ECHO                                                     ~10
    6    10        PRE_INC                                                  !3
         11    >   IS_SMALLER                                               !3, 3
         12      > JMPNZ                                                    ~12, ->6
    9    13    >   ECHO                                                     '-+'
    5    14        PRE_INC                                                  !2
         15    >   IS_SMALLER                                               !2, 3
         16      > JMPNZ                                                    ~14, ->4
   10    17    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.22 ms | 1394 KiB | 13 Q