3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.12 ms | 1385 KiB | 17 Q