3v4l.org

run code in 500+ PHP versions simultaneously
<?php for($z = date("Y"); $z >= date("Y") - 3; $z--) echo $z,PHP_EOL;
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 = 14, Position 2 = 5
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 5
Branch analysis from position: 14
Branch analysis from position: 5
filename:       /in/WC4MQ
function name:  (null)
number of ops:  15
compiled vars:  !0 = $z
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'date'
          1        SEND_VAL                                                     'Y'
          2        DO_ICALL                                             $1      
          3        ASSIGN                                                       !0, $1
          4      > JMP                                                          ->8
          5    >   ECHO                                                         !0
          6        ECHO                                                         '%0A'
          7        PRE_DEC                                                      !0
          8    >   INIT_FCALL                                                   'date'
          9        SEND_VAL                                                     'Y'
         10        DO_ICALL                                             $4      
         11        SUB                                                  ~5      $4, 3
         12        IS_SMALLER_OR_EQUAL                                          ~5, !0
         13      > JMPNZ                                                        ~6, ->5
    4    14    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
157.34 ms | 2092 KiB | 14 Q