PHP 4.0 Bug #4358: new XOR breaks compatibility with php3
| From: | chrism at four dot net | Date: | Tue, 09 May 2000 19:08:10 +0000 |
| Subject: | PHP 4.0 Bug #4358: new XOR breaks compatibility with php3 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-18544@lists.php.net to get a copy of this message | ||
From: chrism@four.net
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