3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = date_create(); $shipping_date = date_add($date,date_interval_create_from_date_string("3 days")); echo date_format($shipping_date, "m/D/Y");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DVICI
function name:  (null)
number of ops:  17
compiled vars:  !0 = $date, !1 = $shipping_date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date_create'
          1        DO_ICALL                                         $2      
          2        ASSIGN                                                   !0, $2
    5     3        INIT_FCALL                                               'date_add'
          4        SEND_VAR                                                 !0
          5        INIT_FCALL                                               'date_interval_create_from_date_string'
          6        SEND_VAL                                                 '3+days'
          7        DO_ICALL                                         $4      
          8        SEND_VAR                                                 $4
          9        DO_ICALL                                         $5      
         10        ASSIGN                                                   !1, $5
    7    11        INIT_FCALL                                               'date_format'
         12        SEND_VAR                                                 !1
         13        SEND_VAL                                                 'm%2FD%2FY'
         14        DO_ICALL                                         $7      
         15        ECHO                                                     $7
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.63 ms | 1394 KiB | 21 Q