3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('America/New_York'); $current_ts = time(); $rollover_ts = mktime(19,00,0,7,1,2015); $rollover2_ts = mktime(19,00,0,7,30,2015); if($current_ts > $rollover_ts) { echo '$current_ts > $rollover_ts'; } else { echo '$current_ts <= $rollover_ts'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 26, Position 2 = 28
Branch analysis from position: 26
1 jumps found. (Code = 42) Position 1 = 29
Branch analysis from position: 29
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 28
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iDDop
function name:  (null)
number of ops:  30
compiled vars:  !0 = $current_ts, !1 = $rollover_ts, !2 = $rollover2_ts
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date_default_timezone_set'
          1        SEND_VAL                                                 'America%2FNew_York'
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'time'
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !0, $4
    5     6        INIT_FCALL                                               'mktime'
          7        SEND_VAL                                                 19
          8        SEND_VAL                                                 0
          9        SEND_VAL                                                 0
         10        SEND_VAL                                                 7
         11        SEND_VAL                                                 1
         12        SEND_VAL                                                 2015
         13        DO_ICALL                                         $6      
         14        ASSIGN                                                   !1, $6
    6    15        INIT_FCALL                                               'mktime'
         16        SEND_VAL                                                 19
         17        SEND_VAL                                                 0
         18        SEND_VAL                                                 0
         19        SEND_VAL                                                 7
         20        SEND_VAL                                                 30
         21        SEND_VAL                                                 2015
         22        DO_ICALL                                         $8      
         23        ASSIGN                                                   !2, $8
    8    24        IS_SMALLER                                               !1, !0
         25      > JMPZ                                                     ~10, ->28
    9    26    >   ECHO                                                     '%24current_ts+%3E+%24rollover_ts'
         27      > JMP                                                      ->29
   12    28    >   ECHO                                                     '%24current_ts+%3C%3D+%24rollover_ts'
   13    29    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.14 ms | 1396 KiB | 19 Q