3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.58 ms | 997 KiB | 15 Q