xor_001.phpt 143 B

12345678910111213141516
  1. --TEST--
  2. XORing arrays
  3. --FILE--
  4. <?php
  5. $a = array(1,2,3);
  6. $b = array();
  7. $c = $a ^ $b;
  8. var_dump($c);
  9. echo "Done\n";
  10. ?>
  11. --EXPECT--
  12. int(1)
  13. Done