3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dateCur = date('m.d.y'); $dateLast = strtotime("$dateCur -1 month UTC"); echo date('d.m.Y',$dateLast);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1aACV
function name:  (null)
number of ops:  16
compiled vars:  !0 = $dateCur, !1 = $dateLast
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'm.d.y'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    3     4        INIT_FCALL                                               'strtotime'
          5        NOP                                                      
          6        FAST_CONCAT                                      ~4      !0, '+-1+month+UTC'
          7        SEND_VAL                                                 ~4
          8        DO_ICALL                                         $5      
          9        ASSIGN                                                   !1, $5
    5    10        INIT_FCALL                                               'date'
         11        SEND_VAL                                                 'd.m.Y'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                         $7      
         14        ECHO                                                     $7
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.07 ms | 1394 KiB | 17 Q