3v4l.org

run code in 300+ PHP versions simultaneously
<?php $current_day = date('l'); $current_time = date('G:i'); if ($current_day == "Tuesday") { if ($current_time >= '05:45' && $current_time <= '09:45') { echo "Hey Hey"; } } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 16
Branch analysis from position: 10
2 jumps found. (Code = 46) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 16
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
Branch analysis from position: 14
Branch analysis from position: 16
filename:       /in/Co9rE
function name:  (null)
number of ops:  17
compiled vars:  !0 = $current_day, !1 = $current_time
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'l'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    3     4        INIT_FCALL                                               'date'
          5        SEND_VAL                                                 'G%3Ai'
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !1, $4
    5     8        IS_EQUAL                                                 !0, 'Tuesday'
          9      > JMPZ                                                     ~6, ->16
    6    10    >   IS_SMALLER_OR_EQUAL                              ~7      '05%3A45', !1
         11      > JMPZ_EX                                          ~7      ~7, ->14
         12    >   IS_SMALLER_OR_EQUAL                              ~8      !1, '09%3A45'
         13        BOOL                                             ~7      ~8
         14    > > JMPZ                                                     ~7, ->16
    7    15    >   ECHO                                                     'Hey+Hey'
   10    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
136.86 ms | 997 KiB | 14 Q