3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo date("Y-m-d H:i", strtotime("now")); if (strtotime("2015-12-10 15:42:00") > strtotime("2015-12-10 6:00:00") && strtotime(date("Y-m-d H:i", strtotime("2015-12-10 6:01:00"))) < strtotime("2015-12-10 6:00:00")) $result = true; else $result = false; if($result) echo("We can execute"); ?>
based on uY5OZ
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 16, Position 2 = 31
Branch analysis from position: 16
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
2 jumps found. (Code = 43) Position 1 = 36, Position 2 = 37
Branch analysis from position: 36
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 37
Branch analysis from position: 34
2 jumps found. (Code = 43) Position 1 = 36, Position 2 = 37
Branch analysis from position: 36
Branch analysis from position: 37
Branch analysis from position: 31
filename:       /in/4fQ1r
function name:  (null)
number of ops:  38
compiled vars:  !0 = $result
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   INIT_FCALL                                               'date'
         1        SEND_VAL                                                 'Y-m-d+H%3Ai'
         2        INIT_FCALL                                               'strtotime'
         3        SEND_VAL                                                 'now'
         4        DO_ICALL                                         $1      
         5        SEND_VAR                                                 $1
         6        DO_ICALL                                         $2      
         7        ECHO                                                     $2
   5     8        INIT_FCALL                                               'strtotime'
         9        SEND_VAL                                                 '2015-12-10+15%3A42%3A00'
        10        DO_ICALL                                         $3      
        11        INIT_FCALL                                               'strtotime'
        12        SEND_VAL                                                 '2015-12-10+6%3A00%3A00'
        13        DO_ICALL                                         $4      
        14        IS_SMALLER                                       ~5      $4, $3
        15      > JMPZ_EX                                          ~5      ~5, ->31
        16    >   INIT_FCALL                                               'strtotime'
        17        INIT_FCALL                                               'date'
        18        SEND_VAL                                                 'Y-m-d+H%3Ai'
        19        INIT_FCALL                                               'strtotime'
        20        SEND_VAL                                                 '2015-12-10+6%3A01%3A00'
        21        DO_ICALL                                         $6      
        22        SEND_VAR                                                 $6
        23        DO_ICALL                                         $7      
        24        SEND_VAR                                                 $7
        25        DO_ICALL                                         $8      
        26        INIT_FCALL                                               'strtotime'
        27        SEND_VAL                                                 '2015-12-10+6%3A00%3A00'
        28        DO_ICALL                                         $9      
        29        IS_SMALLER                                       ~10     $8, $9
        30        BOOL                                             ~5      ~10
        31    > > JMPZ                                                     ~5, ->34
        32    >   ASSIGN                                                   !0, <true>
        33      > JMP                                                      ->35
   6    34    >   ASSIGN                                                   !0, <false>
   8    35    > > JMPZ                                                     !0, ->37
        36    >   ECHO                                                     'We+can+execute'
  10    37    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0