mirror of
https://github.com/php/php-src.git
synced 2024-11-29 04:46:07 +08:00
17 lines
145 B
PHP
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
|