3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('M-01-Y'); echo "\n---\n"; echo date('M-01-Y', strtotime('next month'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MhL2c
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'M-01-Y'
          2        DO_ICALL                                         $0      
          3        ECHO                                                     $0
    5     4        ECHO                                                     '%0A---%0A'
    7     5        INIT_FCALL                                               'date'
          6        SEND_VAL                                                 'M-01-Y'
          7        INIT_FCALL                                               'strtotime'
          8        SEND_VAL                                                 'next+month'
          9        DO_ICALL                                         $1      
         10        SEND_VAR                                                 $1
         11        DO_ICALL                                         $2      
         12        ECHO                                                     $2
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
239.73 ms | 1013 KiB | 15 Q