3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.92 ms | 1394 KiB | 19 Q