3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo $this_year = date("Y", strtotime("-6 month")); echo '\n'; echo $this_year - 1; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oa5Cg
function name:  (null)
number of ops:  13
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        ECHO                                                     '%5Cn'
    5    10        SUB                                              ~4      !0, 1
         11        ECHO                                                     ~4
    7    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
195.59 ms | 1394 KiB | 17 Q