summaryrefslogtreecommitdiff
path: root/ext/simplexml/tests/bug43221.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/simplexml/tests/bug43221.phpt')
-rw-r--r--ext/simplexml/tests/bug43221.phpt2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/simplexml/tests/bug43221.phpt b/ext/simplexml/tests/bug43221.phpt
index bac2277597..a0ef582ec0 100644
--- a/ext/simplexml/tests/bug43221.phpt
+++ b/ext/simplexml/tests/bug43221.phpt
@@ -11,10 +11,8 @@ $n->addAttribute("c", "d", "http://bar.com");
$n->addAttribute("foo:e", "f", "http://bar.com");
print_r($xml->asXml());
?>
-===DONE===
--EXPECTF--
Warning: SimpleXMLElement::addAttribute(): Attribute requires prefix for namespace in %sbug43221.php on line %d
<?xml version="1.0" encoding="utf-8"?>
<root><node xmlns:foo="http://bar.com" a="b" foo:e="f">value</node></root>
-===DONE===