3v4l.org

run code in 300+ PHP versions simultaneously
<?php $datetime = new DateTime(); $runs = 200; for($i = 1; $i <= ($runs*2); $i++) { $datetime->modify('+1 day'); date_format($datetime, 'Y-m-d H:i'); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 6
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 6
Branch analysis from position: 17
Branch analysis from position: 6
filename:       /in/gmqGX
function name:  (null)
number of ops:  18
compiled vars:  !0 = $datetime, !1 = $runs, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $3      'DateTime'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $3
    4     3        ASSIGN                                                   !1, 200
    5     4        ASSIGN                                                   !2, 1
          5      > JMP                                                      ->14
    6     6    >   INIT_METHOD_CALL                                         !0, 'modify'
          7        SEND_VAL_EX                                              '%2B1+day'
          8        DO_FCALL                                      0          
    7     9        INIT_FCALL                                               'date_format'
         10        SEND_VAR                                                 !0
         11        SEND_VAL                                                 'Y-m-d+H%3Ai'
         12        DO_ICALL                                                 
    5    13        PRE_INC                                                  !2
         14    >   MUL                                              ~11     !1, 2
         15        IS_SMALLER_OR_EQUAL                                      !2, ~11
         16      > JMPNZ                                                    ~12, ->6
    8    17    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.7 ms | 1395 KiB | 15 Q