3v4l.org

run code in 300+ PHP versions simultaneously
<?php $month = 7; $day = 31; $year = 2014; $daytmp=mktime(0, 0, 0, $month, $day+1, $year); echo date("Y-m-d",$daytmp);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2dSIv
function name:  (null)
number of ops:  19
compiled vars:  !0 = $month, !1 = $day, !2 = $year, !3 = $daytmp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 7
    3     1        ASSIGN                                                   !1, 31
    4     2        ASSIGN                                                   !2, 2014
    6     3        INIT_FCALL                                               'mktime'
          4        SEND_VAL                                                 0
          5        SEND_VAL                                                 0
          6        SEND_VAL                                                 0
          7        SEND_VAR                                                 !0
          8        ADD                                              ~7      !1, 1
          9        SEND_VAL                                                 ~7
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                         $8      
         12        ASSIGN                                                   !3, $8
    8    13        INIT_FCALL                                               'date'
         14        SEND_VAL                                                 'Y-m-d'
         15        SEND_VAR                                                 !3
         16        DO_ICALL                                         $10     
         17        ECHO                                                     $10
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.59 ms | 1394 KiB | 17 Q