diff options
Diffstat (limited to 'ext/simplexml/tests/bug44478.phpt')
| -rw-r--r-- | ext/simplexml/tests/bug44478.phpt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/simplexml/tests/bug44478.phpt b/ext/simplexml/tests/bug44478.phpt index 5c21d75c8..17a26f949 100644 --- a/ext/simplexml/tests/bug44478.phpt +++ b/ext/simplexml/tests/bug44478.phpt @@ -1,5 +1,7 @@ --TEST-- Bug #44478 (Inconsistent behaviour when assigning new nodes) +--SKIPIF-- +<?php if (!extension_loaded("simplexml")) print "skip"; ?> --FILE-- <?php $xml_element = new simpleXMLElement('<root></root>'); @@ -15,6 +17,7 @@ print $xml_element->node2."\n"; print $xml_element->asXML(); ?> +===DONE=== --EXPECTF-- a & b a & b @@ -22,3 +25,5 @@ a & b a & b <?xml version="1.0"?> <root><node1>a &#38; b</node1><node2>a & b</node2></root> +===DONE=== +
\ No newline at end of file |
