3v4l.org

run code in 300+ PHP versions simultaneously
<?php $daysCount = 2; $daysOffset = 0; for ($i = $daysOffset; $i < $daysCount; $i++) { // echo date('Y-m-d H:i:s \U\T\C', strtotime('-1 days 04:00')); echo date('Y-m-d H:i:s \U\T\C', strtotime( "-$i days 04:00")); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 4
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 4
Branch analysis from position: 18
Branch analysis from position: 4
filename:       /in/JIlo9
function name:  (null)
number of ops:  19
compiled vars:  !0 = $daysCount, !1 = $daysOffset, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 2
    4     1        ASSIGN                                                   !1, 0
    6     2        ASSIGN                                                   !2, !1
          3      > JMP                                                      ->16
    8     4    >   INIT_FCALL                                               'date'
          5        SEND_VAL                                                 'Y-m-d+H%3Ai%3As+%5CU%5CT%5CC'
          6        INIT_FCALL                                               'strtotime'
          7        ROPE_INIT                                     3  ~7      '-'
          8        ROPE_ADD                                      1  ~7      ~7, !2
          9        ROPE_END                                      2  ~6      ~7, '+days+04%3A00'
         10        SEND_VAL                                                 ~6
         11        DO_ICALL                                         $9      
         12        SEND_VAR                                                 $9
         13        DO_ICALL                                         $10     
         14        ECHO                                                     $10
    6    15        PRE_INC                                                  !2
         16    >   IS_SMALLER                                               !2, !0
         17      > JMPNZ                                                    ~12, ->4
   10    18    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.04 ms | 1395 KiB | 17 Q