Date: 04/15/01
- Next message: Goten: "Re: [PHP-DEV] RE: PHP 4.0 Bug #10299 Updated: CPU and Memory Spike"
- Previous message: Derick Rethans: "Re: [PHP-DEV] RE: PHP 4.0 Bug #10299 Updated: CPU and Memory Spike"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: laurent_tourreau <email protected>
Operating system: Slackware 7.1 Linux 2.2.16
PHP version: 4.0.4pl1
PHP Bug Type: Scripting Engine problem
Bug description: XOR logical doesnt work properly
<?php
$h = 4; $i =5, $j=6;
if ($h == 4 xor $i == 5 xor $j == 6) {
echo ("The condition is true");
}
else {
echo ("The condition is false");
}
?>
When i run it, i obtain The condition is true...
Im running PHP as Apache module.
-- Edit Bug report at: http://bugs.php.net/?id=10332&edit=1-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Goten: "Re: [PHP-DEV] RE: PHP 4.0 Bug #10299 Updated: CPU and Memory Spike"
- Previous message: Derick Rethans: "Re: [PHP-DEV] RE: PHP 4.0 Bug #10299 Updated: CPU and Memory Spike"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

