3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.87 ms | 1395 KiB | 17 Q