3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(new DateTime('-'. $variant->totalExpiration. ' days'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/aMRut
function name:  (null)
number of ops:  10
compiled vars:  !0 = $variant
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        NEW                                              $1      'DateTime'
          2        FETCH_OBJ_R                                      ~2      !0, 'totalExpiration'
          3        CONCAT                                           ~3      '-', ~2
          4        CONCAT                                           ~4      ~3, '+days'
          5        SEND_VAL_EX                                              ~4
          6        DO_FCALL                                      0          
          7        SEND_VAR                                                 $1
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.96 ms | 1394 KiB | 15 Q