3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.36 ms | 1392 KiB | 13 Q