3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
185.38 ms | 1394 KiB | 17 Q