|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-04-14 10:58 UTC] helly@php.net
[2006-04-14 12:03 UTC] bjori@php.net
[2006-05-27 01:12 UTC] helly@php.net
[2006-05-27 10:40 UTC] bjori@php.net
[2007-08-15 16:23 UTC] bjori@php.net
[2008-01-22 14:40 UTC] felipe@php.net
[2008-01-22 20:42 UTC] helly@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 20:00:01 2025 UTC |
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>