3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 3; $b = 5; $a = $a xor $b; $b = $a xor $b; $a = $a xor $b;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XMbkL
function name:  (null)
number of ops:  12
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, 5
    4     2        ASSIGN                                           ~4      !0, !0
          3        BOOL_XOR                                         ~5      !1, ~4
          4        FREE                                                     ~5
    5     5        ASSIGN                                           ~6      !1, !0
          6        BOOL_XOR                                         ~7      !1, ~6
          7        FREE                                                     ~7
    6     8        ASSIGN                                           ~8      !0, !0
          9        BOOL_XOR                                         ~9      !1, ~8
         10        FREE                                                     ~9
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.83 ms | 1392 KiB | 13 Q