xref: /PHP-5.5/ext/simplexml/tests/bug37076.phpt (revision 9d33b167)
1--TEST--
2Bug #37076 (SimpleXML ignores .=)
3--SKIPIF--
4<?php if (!extension_loaded("simplexml")) print "skip"; ?>
5--FILE--
6<?php
7$xml = simplexml_load_string("<root><foo /></root>");
8$xml->foo = "foo";
9$xml->foo .= "bar";
10print $xml->asXML();
11?>
12===DONE===
13--EXPECT--
14<?xml version="1.0"?>
15<root><foo>foobar</foo></root>
16===DONE===
17