3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.91 ms | 1395 KiB | 15 Q