ID: 37076 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Assigned Bug Type: SimpleXML related Operating System: FreeBSD -PHP Version: 5CVS-2006-04-14 (CVS) +PHP Version: 6, 5.1.* -Assigned To: +Assigned To: helly New Comment:
Reproduced in HEAD It does however work in 5.0.. Previous Comments: ------------------------------------------------------------------------ [2006-04-14 10:58:40] [EMAIL PROTECTED] This cannot work in 5.1. Please test HEAD and assign to me if it is not working in HEAD or close if it does. ------------------------------------------------------------------------ [2006-04-14 00:30:30] [EMAIL PROTECTED] Description: ------------ Simplexml doesn't respect .= Reproduce code: --------------- <?php $xml = simplexml_load_string("<root><foo /></root>"); $xml->foo = "foo"; $xml->foo .= "bar"; print $xml->asXML(); Expected result: ---------------- <?xml version="1.0"?> <root><foo>foobar</foo></root> Actual result: -------------- <?xml version="1.0"?> <root><foo>foo</foo></root> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37076&edit=1