From:             [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

        $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:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to