3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dia = date("l"); $hora_actual = explode(":", date("H:i")); var_dump($hora); $hora = intval($hora_actual[0]); $minuto = intval($hora_actual[1]); if ( ($dia == "Thursday") && ($hora >= 3 && $hora <= 4) && ($minuto >= 30 && $minuto <= 59) ) { print("\nTRUE");} else { print("\nFALSE"); } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 23, Position 2 = 28
Branch analysis from position: 23
2 jumps found. (Code = 46) Position 1 = 25, Position 2 = 27
Branch analysis from position: 25
2 jumps found. (Code = 46) Position 1 = 29, Position 2 = 34
Branch analysis from position: 29
2 jumps found. (Code = 46) Position 1 = 31, Position 2 = 33
Branch analysis from position: 31
2 jumps found. (Code = 43) Position 1 = 35, Position 2 = 37
Branch analysis from position: 35
1 jumps found. (Code = 42) Position 1 = 38
Branch analysis from position: 38
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 37
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 33
Branch analysis from position: 34
Branch analysis from position: 27
Branch analysis from position: 28
filename:       /in/JLaJa
function name:  (null)
number of ops:  39
compiled vars:  !0 = $dia, !1 = $hora_actual, !2 = $hora, !3 = $minuto
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'l'
          2        DO_ICALL                                         $4      
          3        ASSIGN                                                   !0, $4
    3     4        INIT_FCALL                                               'explode'
          5        SEND_VAL                                                 '%3A'
          6        INIT_FCALL                                               'date'
          7        SEND_VAL                                                 'H%3Ai'
          8        DO_ICALL                                         $6      
          9        SEND_VAR                                                 $6
         10        DO_ICALL                                         $7      
         11        ASSIGN                                                   !1, $7
    4    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !2
         14        DO_ICALL                                                 
    5    15        FETCH_DIM_R                                      ~10     !1, 0
         16        CAST                                          4  ~11     ~10
         17        ASSIGN                                                   !2, ~11
    6    18        FETCH_DIM_R                                      ~13     !1, 1
         19        CAST                                          4  ~14     ~13
         20        ASSIGN                                                   !3, ~14
    7    21        IS_EQUAL                                         ~16     !0, 'Thursday'
         22      > JMPZ_EX                                          ~16     ~16, ->28
         23    >   IS_SMALLER_OR_EQUAL                              ~17     3, !2
         24      > JMPZ_EX                                          ~17     ~17, ->27
         25    >   IS_SMALLER_OR_EQUAL                              ~18     !2, 4
         26        BOOL                                             ~17     ~18
         27    >   BOOL                                             ~16     ~17
         28    > > JMPZ_EX                                          ~16     ~16, ->34
         29    >   IS_SMALLER_OR_EQUAL                              ~19     30, !3
         30      > JMPZ_EX                                          ~19     ~19, ->33
         31    >   IS_SMALLER_OR_EQUAL                              ~20     !3, 59
         32        BOOL                                             ~19     ~20
         33    >   BOOL                                             ~16     ~19
         34    > > JMPZ                                                     ~16, ->37
    8    35    >   ECHO                                                     '%0ATRUE'
         36      > JMP                                                      ->38
   10    37    >   ECHO                                                     '%0AFALSE'
   12    38    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
201.58 ms | 1400 KiB | 19 Q