mirror of
https://github.com/php/php-src.git
synced 2024-12-13 20:05:26 +08:00
17 lines
143 B
PHP
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
|