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"; var_dump($date_fail);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GdBbq
function name:  (null)
number of ops:  18
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'
    7    14        INIT_FCALL                                               'var_dump'
         15        SEND_VAR                                                 !3
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.76 ms | 1394 KiB | 21 Q