3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "test"; for($i=1;$i<=10;$i++){ echo $i.". test ".$i."<br />"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 3
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 3
Branch analysis from position: 10
Branch analysis from position: 3
filename:       /in/fYmCX
function name:  (null)
number of ops:  11
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     'test'
    4     1        ASSIGN                                                   !0, 1
          2      > JMP                                                      ->8
    6     3    >   CONCAT                                           ~2      !0, '.+test+'
          4        CONCAT                                           ~3      ~2, !0
          5        CONCAT                                           ~4      ~3, '%3Cbr+%2F%3E'
          6        ECHO                                                     ~4
    4     7        PRE_INC                                                  !0
          8    >   IS_SMALLER_OR_EQUAL                                      !0, 10
          9      > JMPNZ                                                    ~6, ->3
    8    10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.89 ms | 1384 KiB | 13 Q