3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 6; $endTime =strtotime("-$i+1 months"); echo $endTime; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nkOah
function name:  (null)
number of ops:  10
compiled vars:  !0 = $i, !1 = $endTime
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 6
    3     1        INIT_FCALL                                               'strtotime'
          2        ROPE_INIT                                     3  ~4      '-'
          3        ROPE_ADD                                      1  ~4      ~4, !0
          4        ROPE_END                                      2  ~3      ~4, '%2B1+months'
          5        SEND_VAL                                                 ~3
          6        DO_ICALL                                         $6      
          7        ASSIGN                                                   !1, $6
    4     8        ECHO                                                     !1
    5     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.97 ms | 1398 KiB | 15 Q