3v4l.org

run code in 300+ PHP versions simultaneously
<?php //$d = new DateTime( '2010-01-31' ); //$d->modify( 'first day of next month' ); $day=strtotime( 'last day of +1 month', now('yyyy-MM-dd')); //echo $day->toString('yyyy-MM-dd'); echo $day;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ffYbK
function name:  (null)
number of ops:  10
compiled vars:  !0 = $day
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 'last+day+of+%2B1+month'
          2        INIT_FCALL_BY_NAME                                       'now'
          3        SEND_VAL_EX                                              'yyyy-MM-dd'
          4        DO_FCALL                                      0  $1      
          5        SEND_VAR                                                 $1
          6        DO_ICALL                                         $2      
          7        ASSIGN                                                   !0, $2
    6     8        ECHO                                                     !0
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.3 ms | 1394 KiB | 15 Q