3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 0; $i < 5; $i++) { for ($j = 0; $j < 5; $j++) { echo "{$i}, {$j}<br>\n"; if ($j == 3) { break 2; } } } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 2
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 4
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 2
Branch analysis from position: 18
Branch analysis from position: 2
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 12
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 4
Branch analysis from position: 15
Branch analysis from position: 4
filename:       /in/a5fOp
function name:  (null)
number of ops:  19
compiled vars:  !0 = $i, !1 = $j
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->16
    3     2    >   ASSIGN                                                   !1, 0
          3      > JMP                                                      ->13
    4     4    >   ROPE_INIT                                     4  ~5      !0
          5        ROPE_ADD                                      1  ~5      ~5, '%2C+'
          6        ROPE_ADD                                      2  ~5      ~5, !1
          7        ROPE_END                                      3  ~4      ~5, '%3Cbr%3E%0A'
          8        ECHO                                                     ~4
    5     9        IS_EQUAL                                                 !1, 3
         10      > JMPZ                                                     ~7, ->12
    6    11    > > JMP                                                      ->18
    3    12    >   PRE_INC                                                  !1
         13    >   IS_SMALLER                                               !1, 5
         14      > JMPNZ                                                    ~9, ->4
    2    15    >   PRE_INC                                                  !0
         16    >   IS_SMALLER                                               !0, 5
         17      > JMPNZ                                                    ~11, ->2
   10    18    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.94 ms | 1394 KiB | 13 Q