3v4l.org

run code in 300+ PHP versions simultaneously
<?php $year = date("Y"); $max_year = $year + 10; while($year < $max_year){ $year ++; echo($year); }
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 = 7
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 7
Branch analysis from position: 11
Branch analysis from position: 7
filename:       /in/TLIve
function name:  (null)
number of ops:  12
compiled vars:  !0 = $year, !1 = $max_year
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'Y'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    3     4        ADD                                              ~4      !0, 10
          5        ASSIGN                                                   !1, ~4
    5     6      > JMP                                                      ->9
    6     7    >   PRE_INC                                                  !0
    7     8        ECHO                                                     !0
    5     9    >   IS_SMALLER                                               !0, !1
         10      > JMPNZ                                                    ~7, ->7
    8    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.33 ms | 1394 KiB | 15 Q