3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.79 ms | 1398 KiB | 17 Q