3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = -1; echo $i---$i+++$i--;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PAZta
function name:  (null)
number of ops:  8
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, -1
    5     1        POST_DEC                                         ~2      !0
          2        POST_INC                                         ~3      !0
          3        SUB                                              ~4      ~2, ~3
          4        POST_DEC                                         ~5      !0
          5        ADD                                              ~6      ~4, ~5
          6        ECHO                                                     ~6
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.58 ms | 1384 KiB | 13 Q