3v4l.org

run code in 300+ PHP versions simultaneously
<?php $disconnect = "2015-11-07"; $disco_date = date_create($disconnet); $date_fail = date_add($disco_date, date_interval_create_from_date_string("60 days")); $date_recorded = "2015-11-11 05:47:10"; if($date_fail <= $date_recorded) { echo "Fail"; } else echo "good to go";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 18
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HscSs
function name:  (null)
number of ops:  20
compiled vars:  !0 = $disconnect, !1 = $disco_date, !2 = $disconnet, !3 = $date_fail, !4 = $date_recorded
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '2015-11-07'
    3     1        INIT_FCALL                                               'date_create'
          2        SEND_VAR                                                 !2
          3        DO_ICALL                                         $6      
          4        ASSIGN                                                   !1, $6
    4     5        INIT_FCALL                                               'date_add'
          6        SEND_VAR                                                 !1
          7        INIT_FCALL                                               'date_interval_create_from_date_string'
          8        SEND_VAL                                                 '60+days'
          9        DO_ICALL                                         $8      
         10        SEND_VAR                                                 $8
         11        DO_ICALL                                         $9      
         12        ASSIGN                                                   !3, $9
    6    13        ASSIGN                                                   !4, '2015-11-11+05%3A47%3A10'
    8    14        IS_SMALLER_OR_EQUAL                                      !3, !4
         15      > JMPZ                                                     ~12, ->18
   10    16    >   ECHO                                                     'Fail'
         17      > JMP                                                      ->19
   13    18    >   ECHO                                                     'good+to+go'
         19    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.91 ms | 1395 KiB | 19 Q