3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
161.99 ms | 3021 KiB | 17 Q