3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dia = date("l"); $hora = explode(":", date("H:i")); print($hora); if ( ($dia == "Wednesday") && ($hora >= 11 && $hora <=12) ) { print("TRUE");} else { print("FALSE"); } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 15, Position 2 = 20
Branch analysis from position: 15
2 jumps found. (Code = 46) Position 1 = 17, Position 2 = 19
Branch analysis from position: 17
2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 23
Branch analysis from position: 21
1 jumps found. (Code = 42) Position 1 = 24
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
Branch analysis from position: 20
filename:       /in/rj5mt
function name:  (null)
number of ops:  25
compiled vars:  !0 = $dia, !1 = $hora
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                                               'explode'
          5        SEND_VAL                                                 '%3A'
          6        INIT_FCALL                                               'date'
          7        SEND_VAL                                                 'H%3Ai'
          8        DO_ICALL                                         $4      
          9        SEND_VAR                                                 $4
         10        DO_ICALL                                         $5      
         11        ASSIGN                                                   !1, $5
    4    12        ECHO                                                     !1
    5    13        IS_EQUAL                                         ~7      !0, 'Wednesday'
         14      > JMPZ_EX                                          ~7      ~7, ->20
         15    >   IS_SMALLER_OR_EQUAL                              ~8      11, !1
         16      > JMPZ_EX                                          ~8      ~8, ->19
         17    >   IS_SMALLER_OR_EQUAL                              ~9      !1, 12
         18        BOOL                                             ~8      ~9
         19    >   BOOL                                             ~7      ~8
         20    > > JMPZ                                                     ~7, ->23
    6    21    >   ECHO                                                     'TRUE'
         22      > JMP                                                      ->24
    8    23    >   ECHO                                                     'FALSE'
   10    24    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.81 ms | 1395 KiB | 17 Q