3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dia = date("l"); $hora_actual = explode(":", date("H:i")); var_dump($hora_actual); $hora = intval($hora_actual[0]); $minuto = intval($hora_actual[1]); if ( ($dia == "Thursday") && ($hora == 3) && ($minuto >= 20 && $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 = 25
Branch analysis from position: 23
2 jumps found. (Code = 46) Position 1 = 26, Position 2 = 31
Branch analysis from position: 26
2 jumps found. (Code = 46) Position 1 = 28, Position 2 = 30
Branch analysis from position: 28
2 jumps found. (Code = 43) Position 1 = 32, Position 2 = 34
Branch analysis from position: 32
1 jumps found. (Code = 42) Position 1 = 35
Branch analysis from position: 35
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 34
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 30
Branch analysis from position: 31
Branch analysis from position: 25
filename:       /in/lFPjR
function name:  (null)
number of ops:  36
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                                                 !1
         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, ->25
         23    >   IS_EQUAL                                         ~17     !2, 3
         24        BOOL                                             ~16     ~17
         25    > > JMPZ_EX                                          ~16     ~16, ->31
         26    >   IS_SMALLER_OR_EQUAL                              ~18     20, !3
         27      > JMPZ_EX                                          ~18     ~18, ->30
         28    >   IS_SMALLER_OR_EQUAL                              ~19     !3, 59
         29        BOOL                                             ~18     ~19
         30    >   BOOL                                             ~16     ~18
         31    > > JMPZ                                                     ~16, ->34
    8    32    >   ECHO                                                     '%0ATRUE'
         33      > JMP                                                      ->35
   10    34    >   ECHO                                                     '%0AFALSE'
   12    35    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.14 ms | 1401 KiB | 19 Q