3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.66 ms | 1393 KiB | 17 Q