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'),date('Y'))); echo "<br>".date("Y-m-d"); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZcdFV
function name:  (null)
number of ops:  33
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        SEND_VAR                                                 $4
         19        INIT_FCALL                                               'date'
         20        SEND_VAL                                                 'Y'
         21        DO_ICALL                                         $5      
         22        SEND_VAR                                                 $5
         23        DO_ICALL                                         $6      
         24        SEND_VAR                                                 $6
         25        DO_ICALL                                         $7      
         26        ECHO                                                     $7
    3    27        INIT_FCALL                                               'date'
         28        SEND_VAL                                                 'Y-m-d'
         29        DO_ICALL                                         $8      
         30        CONCAT                                           ~9      '%3Cbr%3E', $8
         31        ECHO                                                     ~9
    6    32      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.7 ms | 1399 KiB | 17 Q