3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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
Jump found. 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      $4, !1
         4        FREE                                                     ~5
   5     5        ASSIGN                                           $6      !1, !0
         6        BOOL_XOR                                         ~7      $6, !1
         7        FREE                                                     ~7
   6     8        ASSIGN                                           $8      !0, !0
         9        BOOL_XOR                                         ~9      $8, !1
        10        FREE                                                     ~9
        11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0