3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
136.17 ms | 1456 KiB | 13 Q