Added XOR to switch

https://bugs.php.net/bug.php?id=64523