3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.59 ms | 1394 KiB | 17 Q