3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i = 0, $j = 1; $i < 5 && $j != 0; $i++){ echo "\$i = $i; \$j = $j"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
2 jumps found. (Code = 46) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 3
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 46) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
Branch analysis from position: 13
Branch analysis from position: 13
filename:       /in/tWE1I
function name:  (null)
number of ops:  15
compiled vars:  !0 = $i, !1 = $j
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
          1        ASSIGN                                                   !1, 1
          2      > JMP                                                      ->9
    4     3    >   ROPE_INIT                                     4  ~5      '%24i+%3D+'
          4        ROPE_ADD                                      1  ~5      ~5, !0
          5        ROPE_ADD                                      2  ~5      ~5, '%3B+%24j+%3D+'
          6        ROPE_END                                      3  ~4      ~5, !1
          7        ECHO                                                     ~4
    3     8        PRE_INC                                                  !0
          9    >   IS_SMALLER                                       ~8      !0, 5
         10      > JMPZ_EX                                          ~8      ~8, ->13
         11    >   IS_NOT_EQUAL                                     ~9      !1, 0
         12        BOOL                                             ~8      ~9
         13    > > JMPNZ                                                    ~8, ->3
    5    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.34 ms | 1002 KiB | 13 Q