3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('America/Los_Angeles'); for ($ts = strtotime('2013-11-01 00:00:00'); $ts <= strtotime('2013-11-01 00:00:00'); $ts += 24 * 60 * 60) { var_dump(date('Y-m-d', $ts)); }
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 = 21, Position 2 = 8
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 21, Position 2 = 8
Branch analysis from position: 21
Branch analysis from position: 8
filename:       /in/bEb27
function name:  (null)
number of ops:  22
compiled vars:  !0 = $ts
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date_default_timezone_set'
          1        SEND_VAL                                                 'America%2FLos_Angeles'
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'strtotime'
          4        SEND_VAL                                                 '2013-11-01+00%3A00%3A00'
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
          7      > JMP                                                      ->16
    5     8    >   INIT_FCALL                                               'var_dump'
          9        INIT_FCALL                                               'date'
         10        SEND_VAL                                                 'Y-m-d'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $4      
         13        SEND_VAR                                                 $4
         14        DO_ICALL                                                 
    4    15        ASSIGN_OP                                     1          !0, 86400
         16    >   INIT_FCALL                                               'strtotime'
         17        SEND_VAL                                                 '2013-11-01+00%3A00%3A00'
         18        DO_ICALL                                         $7      
         19        IS_SMALLER_OR_EQUAL                                      !0, $7
         20      > JMPNZ                                                    ~8, ->8
    6    21    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.31 ms | 1400 KiB | 21 Q