mirror of
https://github.com/php/php-src.git
synced 2024-10-21 00:12:34 +00:00
15 lines
261 B
PHP
15 lines
261 B
PHP
--TEST--
|
|
Bug #37076 (SimpleXML ignores .=)
|
|
--FILE--
|
|
<?php
|
|
$xml = simplexml_load_string("<root><foo /></root>");
|
|
$xml->foo = "foo";
|
|
$xml->foo .= "bar";
|
|
print $xml->asXML();
|
|
?>
|
|
===DONE===
|
|
--EXPECT--
|
|
<?xml version="1.0"?>
|
|
<root><foo>foobar</foo></root>
|
|
===DONE===
|