mirror of
https://github.com/php/php-src.git
synced 2024-12-19 06:50:17 +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
|