xref: /php-src/ext/simplexml/tests/bug37076.phpt (revision 7f2f0c00)
1--TEST--
2Bug #37076 (SimpleXML ignores .=)
3--EXTENSIONS--
4simplexml
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--EXPECT--
13<?xml version="1.0"?>
14<root><foo>foobar</foo></root>
15