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; echo "a = $a; b = $b";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pCJfW
function name:  (null)
number of ops:  17
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
    7    11        ROPE_INIT                                     4  ~11     'a+%3D+'
         12        ROPE_ADD                                      1  ~11     ~11, !0
         13        ROPE_ADD                                      2  ~11     ~11, '%3B+b+%3D+'
         14        ROPE_END                                      3  ~10     ~11, !1
         15        ECHO                                                     ~10
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.2 ms | 1393 KiB | 13 Q