[PHP-DEV] PHP 4.0 Bug #4358: new XOR breaks compatibility with php3 From: chrism <email protected>
Date: 05/09/00

From: chrism <email protected>
Operating system: freebsd3.3
PHP version: 4.0 Release Candidate 1
PHP Bug Type: Scripting Engine problem
Bug description: new XOR breaks compatibility with php3

<?php

$result = (98 xor 200);

echo gettype($result) . "\n";

echo $result . "\n";
?>

twinhead% php3.0.14 -q xor.php
integer
170
twinhead% php -q xor.php
boolean

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