3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = 0; $end = 10; $comparator = '<'; for ($i = $start; $i < $end; $i++) { echo "$i\n"; }
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 = 44) Position 1 = 11, Position 2 = 5
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 5
Branch analysis from position: 11
Branch analysis from position: 5
filename:       /in/p2W4d
function name:  (null)
number of ops:  12
compiled vars:  !0 = $start, !1 = $end, !2 = $comparator, !3 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
    3     1        ASSIGN                                                   !1, 10
    4     2        ASSIGN                                                   !2, '%3C'
    6     3        ASSIGN                                                   !3, !0
          4      > JMP                                                      ->9
    7     5    >   NOP                                                      
          6        FAST_CONCAT                                      ~8      !3, '%0A'
          7        ECHO                                                     ~8
    6     8        PRE_INC                                                  !3
          9    >   IS_SMALLER                                               !3, !1
         10      > JMPNZ                                                    ~10, ->5
    8    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.59 ms | 1393 KiB | 13 Q