3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('Y-m-d', strtotime("+" . $pDocumentType['MonthsValidFor'] . " month", time())); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sYff0
function name:  (null)
number of ops:  15
compiled vars:  !0 = $pDocumentType
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'Y-m-d'
          2        INIT_FCALL                                               'strtotime'
          3        FETCH_DIM_R                                      ~1      !0, 'MonthsValidFor'
          4        CONCAT                                           ~2      '%2B', ~1
          5        CONCAT                                           ~3      ~2, '+month'
          6        SEND_VAL                                                 ~3
          7        INIT_FCALL                                               'time'
          8        DO_ICALL                                         $4      
          9        SEND_VAR                                                 $4
         10        DO_ICALL                                         $5      
         11        SEND_VAR                                                 $5
         12        DO_ICALL                                         $6      
         13        ECHO                                                     $6
    4    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.6 ms | 1394 KiB | 19 Q