3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.83 ms | 1394 KiB | 13 Q