3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set("Pacific/Fiji"); $today = strtotime("2014-04-30 04:04"); $close_date = strtotime("2014-04-30 16:00"); if( $today >= $close_date ){ echo "1"; } else { echo "0"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hQdnT
function name:  (null)
number of ops:  17
compiled vars:  !0 = $today, !1 = $close_date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date_default_timezone_set'
          1        SEND_VAL                                                 'Pacific%2FFiji'
          2        DO_ICALL                                                 
    5     3        INIT_FCALL                                               'strtotime'
          4        SEND_VAL                                                 '2014-04-30+04%3A04'
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !0, $3
    6     7        INIT_FCALL                                               'strtotime'
          8        SEND_VAL                                                 '2014-04-30+16%3A00'
          9        DO_ICALL                                         $5      
         10        ASSIGN                                                   !1, $5
    7    11        IS_SMALLER_OR_EQUAL                                      !1, !0
         12      > JMPZ                                                     ~7, ->15
    8    13    >   ECHO                                                     '1'
         14      > JMP                                                      ->16
   10    15    >   ECHO                                                     '0'
   11    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.06 ms | 1395 KiB | 17 Q