3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(date('Y-m-d',strtotime("+1 years", strtotime(str_replace("/","-", '2013/12/20')))));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6FBn3
function name:  (null)
number of ops:  20
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'Y-m-d'
          3        INIT_FCALL                                               'strtotime'
          4        SEND_VAL                                                 '%2B1+years'
          5        INIT_FCALL                                               'strtotime'
          6        INIT_FCALL                                               'str_replace'
          7        SEND_VAL                                                 '%2F'
          8        SEND_VAL                                                 '-'
          9        SEND_VAL                                                 '2013%2F12%2F20'
         10        DO_ICALL                                         $0      
         11        SEND_VAR                                                 $0
         12        DO_ICALL                                         $1      
         13        SEND_VAR                                                 $1
         14        DO_ICALL                                         $2      
         15        SEND_VAR                                                 $2
         16        DO_ICALL                                         $3      
         17        SEND_VAR                                                 $3
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.78 ms | 1394 KiB | 21 Q