3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = "2015-08-29"; $date2 = "2015-09-23"; if (strtotime($date) > time() || strtotime($date2) < time() ) { echo "lol"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 9, Position 2 = 16
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 18
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
Branch analysis from position: 16
filename:       /in/DLAYd
function name:  (null)
number of ops:  19
compiled vars:  !0 = $date, !1 = $date2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '2015-08-29'
    4     1        ASSIGN                                                   !1, '2015-09-23'
    6     2        INIT_FCALL                                               'strtotime'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $4      
          5        INIT_FCALL                                               'time'
          6        DO_ICALL                                         $5      
          7        IS_SMALLER                                       ~6      $5, $4
          8      > JMPNZ_EX                                         ~6      ~6, ->16
          9    >   INIT_FCALL                                               'strtotime'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $7      
         12        INIT_FCALL                                               'time'
         13        DO_ICALL                                         $8      
         14        IS_SMALLER                                       ~9      $7, $8
         15        BOOL                                             ~6      ~9
         16    > > JMPZ                                                     ~6, ->18
    7    17    >   ECHO                                                     'lol'
    8    18    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.03 ms | 1386 KiB | 17 Q