php-src/Zend/tests/xor_001.phpt
2018-10-14 12:07:20 -03: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