3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo mktime(0, 0, 0, date("m")-1, date("d"), date("Y")); echo date("Y-m-d",strtotime("1 months"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oogMD
function name:  (null)
number of ops:  28
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'mktime'
          1        SEND_VAL                                                 0
          2        SEND_VAL                                                 0
          3        SEND_VAL                                                 0
          4        INIT_FCALL                                               'date'
          5        SEND_VAL                                                 'm'
          6        DO_ICALL                                         $0      
          7        SUB                                              ~1      $0, 1
          8        SEND_VAL                                                 ~1
          9        INIT_FCALL                                               'date'
         10        SEND_VAL                                                 'd'
         11        DO_ICALL                                         $2      
         12        SEND_VAR                                                 $2
         13        INIT_FCALL                                               'date'
         14        SEND_VAL                                                 'Y'
         15        DO_ICALL                                         $3      
         16        SEND_VAR                                                 $3
         17        DO_ICALL                                         $4      
         18        ECHO                                                     $4
    3    19        INIT_FCALL                                               'date'
         20        SEND_VAL                                                 'Y-m-d'
         21        INIT_FCALL                                               'strtotime'
         22        SEND_VAL                                                 '1+months'
         23        DO_ICALL                                         $5      
         24        SEND_VAR                                                 $5
         25        DO_ICALL                                         $6      
         26        ECHO                                                     $6
         27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.64 ms | 1395 KiB | 19 Q