mirror of
https://github.com/php/php-src.git
synced 2024-12-15 04:45:03 +08:00
ded3d984c6
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
20 lines
179 B
PHP
20 lines
179 B
PHP
--TEST--
|
|
XORing booleans
|
|
--FILE--
|
|
<?php
|
|
|
|
$t = true;
|
|
$f = false;
|
|
|
|
var_dump($t ^ $f);
|
|
var_dump($t ^ $t);
|
|
var_dump($f ^ $f);
|
|
|
|
echo "Done\n";
|
|
?>
|
|
--EXPECT--
|
|
int(1)
|
|
int(0)
|
|
int(0)
|
|
Done
|