3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.5 ms | 1392 KiB | 13 Q