3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 10100001; $b = 11101011; var_dump($a); var_dump($b); $b = $a ^ $b; $a = $a ^ $b; $b = $a ^ $b; var_dump($a, $b);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HIWQb
function name:  (null)
number of ops:  19
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 10100001
    4     1        ASSIGN                                                   !1, 11101011
    6     2        INIT_FCALL                                               'var_dump'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                                 
    7     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                                 
    8     8        BW_XOR                                           ~6      !0, !1
          9        ASSIGN                                                   !1, ~6
    9    10        BW_XOR                                           ~8      !0, !1
         11        ASSIGN                                                   !0, ~8
   10    12        BW_XOR                                           ~10     !0, !1
         13        ASSIGN                                                   !1, ~10
   11    14        INIT_FCALL                                               'var_dump'
         15        SEND_VAR                                                 !0
         16        SEND_VAR                                                 !1
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.67 ms | 1394 KiB | 15 Q