3v4l.org

run code in 300+ PHP versions simultaneously
<?php $lastmonth = date('Y-m-01',mktime(0, 0, 0, date("m")-3, date("d"), date("Y"))); echo lastmonth ; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/J0GFi
function name:  (null)
number of ops:  26
compiled vars:  !0 = $lastmonth
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'Y-m-01'
          2        INIT_FCALL                                               'mktime'
          3        SEND_VAL                                                 0
          4        SEND_VAL                                                 0
          5        SEND_VAL                                                 0
          6        INIT_FCALL                                               'date'
          7        SEND_VAL                                                 'm'
          8        DO_ICALL                                         $1      
          9        SUB                                              ~2      $1, 3
         10        SEND_VAL                                                 ~2
         11        INIT_FCALL                                               'date'
         12        SEND_VAL                                                 'd'
         13        DO_ICALL                                         $3      
         14        SEND_VAR                                                 $3
         15        INIT_FCALL                                               'date'
         16        SEND_VAL                                                 'Y'
         17        DO_ICALL                                         $4      
         18        SEND_VAR                                                 $4
         19        DO_ICALL                                         $5      
         20        SEND_VAR                                                 $5
         21        DO_ICALL                                         $6      
         22        ASSIGN                                                   !0, $6
    3    23        FETCH_CONSTANT                                   ~8      'lastmonth'
         24        ECHO                                                     ~8
    4    25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.41 ms | 1395 KiB | 17 Q