3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo $end = new DateTime(date('m/d/Y 00:00:00',strtotime("-2 days")));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sqU7f
function name:  (null)
number of ops:  13
compiled vars:  !0 = $end
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'DateTime'
          1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'm%2Fd%2FY+00%3A00%3A00'
          3        INIT_FCALL                                               'strtotime'
          4        SEND_VAL                                                 '-2+days'
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                         $3      
          8        SEND_VAR_NO_REF_EX                                       $3
          9        DO_FCALL                                      0          
         10        ASSIGN                                           ~5      !0, $1
         11        ECHO                                                     ~5
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.37 ms | 1394 KiB | 17 Q