3v4l.org

run code in 300+ PHP versions simultaneously
<?php $datetime = "2012-12-12 23:45:02"; echo date("y-m-10", strtotime("+1 month",strtotime($datetime)));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dOYgX
function name:  (null)
number of ops:  14
compiled vars:  !0 = $datetime
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '2012-12-12+23%3A45%3A02'
    3     1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'y-m-10'
          3        INIT_FCALL                                               'strtotime'
          4        SEND_VAL                                                 '%2B1+month'
          5        INIT_FCALL                                               'strtotime'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $2      
          8        SEND_VAR                                                 $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:
151.42 ms | 1394 KiB | 17 Q