3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.14 ms | 1396 KiB | 19 Q