Bug #15380 Updated: Invalid Type Conversion In XOR Operand
| From: | derick@php.net | Date: | Wed, 27 Feb 2002 12:49:26 +0000 |
| Subject: | Bug #15380 Updated: Invalid Type Conversion In XOR Operand | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-1202@lists.php.net to get a copy of this message | ||
ID: 15380
Updated by: derick@php.net
Reported By: jury@elkor.lv
-Status: Critical
+Status: Assigned
Bug Type: Scripting Engine problem
Operating System: ANY
PHP Version: 4.2.0-dev
-Assigned To:
+Assigned To: derick
New Comment:
Not critical, assinging to me to check it out.
Previous Comments:
------------------------------------------------------------------------
[2002-02-05 10:52:10] sander@php.net
Some results (exactly the same with ZE1 and 2):
echo "12" ^ "9"; // output: nothing
echo "hello"."12" ^ "9"; // output: Q
echo "hello12" ^ "9"; // output: Q
echo "hello".("12" ^ "9"); // output: hell
Yes, that's hell and not hello!
------------------------------------------------------------------------
[2002-02-05 05:38:12] yohgaki@php.net
Verified with 4.2.0-dev. (ZE1)
This bug can make nasty bug in script that is really hard to find.
status = Critical
------------------------------------------------------------------------
[2002-02-05 04:54:00] jury@elkor.lv
Invalid Calculation when you make XOR operation between strings like:
"12" ^ "9".
It needs to change type from "String" => "Double"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15380&edit=1