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(date("Y-m-10"))));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Aivna
function name:  (null)
number of ops:  17
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        INIT_FCALL                                               'date'
          7        SEND_VAL                                                 'Y-m-10'
          8        DO_ICALL                                         $2      
          9        SEND_VAR                                                 $2
         10        DO_ICALL                                         $3      
         11        SEND_VAR                                                 $3
         12        DO_ICALL                                         $4      
         13        SEND_VAR                                                 $4
         14        DO_ICALL                                         $5      
         15        ECHO                                                     $5
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.19 ms | 1394 KiB | 17 Q