3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($t = 1483228800000; $t <= strtotime("now +1 year")*1000; $t=strtotime('+1 month', $t/1000)*1000) { echo $t.","; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 2
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 2
Branch analysis from position: 17
Branch analysis from position: 2
filename:       /in/JhP6t
function name:  (null)
number of ops:  18
compiled vars:  !0 = $t
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1483228800000
          1      > JMP                                                      ->11
    4     2    >   CONCAT                                           ~2      !0, '%2C'
          3        ECHO                                                     ~2
    3     4        INIT_FCALL                                               'strtotime'
          5        SEND_VAL                                                 '%2B1+month'
          6        DIV                                              ~3      !0, 1000
          7        SEND_VAL                                                 ~3
          8        DO_ICALL                                         $4      
          9        MUL                                              ~5      $4, 1000
         10        ASSIGN                                                   !0, ~5
         11    >   INIT_FCALL                                               'strtotime'
         12        SEND_VAL                                                 'now+%2B1+year'
         13        DO_ICALL                                         $7      
         14        MUL                                              ~8      $7, 1000
         15        IS_SMALLER_OR_EQUAL                                      !0, ~8
         16      > JMPNZ                                                    ~9, ->2
    6    17    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.65 ms | 1399 KiB | 15 Q