Source Code:
(back to article)
<?php $x = 10; $y = 5; if ($x > 0 xor $y > 10) { echo "One of the expressions is true and the other is false"; } else { echo "Both expressions are either true or false"; }
Result:
Report an issue