3v4l.org

run code in 300+ PHP versions simultaneously
<?php $firstDayNextMonth = date('Y-m-01', strtotime('+2 months', time())); echo $firstDayNextMonth;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LnQgS
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                                                 '%2B2+months'
          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:
142.04 ms | 1394 KiB | 19 Q