3v4l.org

run code in 300+ PHP versions simultaneously
<?php //$writer = new XMLWriter(); //echo var_dump(getdate(strtotime("2013-2"))); echo date("Y-m-t", getdate(strtotime("2013-2"))); //echo date("Y-m-t", strtotime("first day of previous month") ) ;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MECDU
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'Y-m-t'
          2        INIT_FCALL                                               'getdate'
          3        INIT_FCALL                                               'strtotime'
          4        SEND_VAL                                                 '2013-2'
          5        DO_ICALL                                         $0      
          6        SEND_VAR                                                 $0
          7        DO_ICALL                                         $1      
          8        SEND_VAR                                                 $1
          9        DO_ICALL                                         $2      
         10        ECHO                                                     $2
    5    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.89 ms | 1385 KiB | 19 Q