3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('UTC'); $expireDate = "September 1 2014 12:00:00"; if(time() > strtotime($expireDate)){ //require('expired.html'); print('expired'); }else{ //require('form.html'); print('form'); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/h7bWu
function name:  (null)
number of ops:  15
compiled vars:  !0 = $expireDate
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date_default_timezone_set'
          1        SEND_VAL                                                 'UTC'
          2        DO_ICALL                                                 
    4     3        ASSIGN                                                   !0, 'September+1+2014+12%3A00%3A00'
    6     4        INIT_FCALL                                               'time'
          5        DO_ICALL                                         $3      
          6        INIT_FCALL                                               'strtotime'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $4      
          9        IS_SMALLER                                               $4, $3
         10      > JMPZ                                                     ~5, ->13
    8    11    >   ECHO                                                     'expired'
         12      > JMP                                                      ->14
   11    13    >   ECHO                                                     'form'
   12    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.8 ms | 1386 KiB | 19 Q