ID: 15380 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Critical Bug Type: Scripting Engine problem Operating System: ANY PHP Version: 4.2.0-dev New Comment:
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! Previous Comments: ------------------------------------------------------------------------ [2002-02-05 05:38:12] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php