php-src/Zend/tests/xor_001.phpt
2007-04-28 11:59:08 +00:00

17 lines
145 B
PHP

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