3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 10100001; $b = 11101011; var_dump($a); var_dump($b); $b = $a ^ $b; $a = $a ^ $b; $b = $a ^ $b; var_dump($a, $b);
Output for 5.6.38 - 7.3.0rc3
int(10100001) int(11101011) int(11101011) int(10100001)