php-src/Zend/tests/xor_001.phpt
2018-10-14 19:45:12 +02:00

17 lines
143 B
PHP

--TEST--
XORing arrays
--FILE--
<?php
$a = array(1,2,3);
$b = array();
$c = $a ^ $b;
var_dump($c);
echo "Done\n";
?>
--EXPECT--
int(1)
Done