ID: 45353 Updated by: [EMAIL PROTECTED] Reported By: null at null dot invalid Status: Bogus Bug Type: Scripting Engine problem Operating System: Windows XP PHP Version: 5.2.6 New Comment:
. Previous Comments: ------------------------------------------------------------------------ [2008-06-25 12:01:36] null at null dot invalid n ------------------------------------------------------------------------ [2008-06-25 11:59:02] null at null dot invalid n ------------------------------------------------------------------------ [2008-06-25 11:58:03] phpbugs dot mp7jir at stevenroddis dot com n ------------------------------------------------------------------------ [2008-06-25 11:53:28] null at null dot invalid Description: ------------ += operand empties variable, see code for more details. Reproduce code: --------------- <?php //Running PHP Version 5.2.6 on Windows XP $foo = '_123'; $bar = ''; $foo += $bar; echo $foo; ?> Expected result: ---------------- _123 Actual result: -------------- <nothing> Checked with a debugger, $foo += $bar; makes $foo = null; ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=45353&edit=1