3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.28 ms | 1392 KiB | 13 Q