3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.01 ms | 1396 KiB | 19 Q