diff options
Diffstat (limited to 'ext/simplexml/tests/SimpleXMLElement_addAttribute_basic.phpt')
-rw-r--r-- | ext/simplexml/tests/SimpleXMLElement_addAttribute_basic.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/simplexml/tests/SimpleXMLElement_addAttribute_basic.phpt b/ext/simplexml/tests/SimpleXMLElement_addAttribute_basic.phpt index 15c81b2a9a..d227a220e2 100644 --- a/ext/simplexml/tests/SimpleXMLElement_addAttribute_basic.phpt +++ b/ext/simplexml/tests/SimpleXMLElement_addAttribute_basic.phpt @@ -1,12 +1,12 @@ --TEST-- SimpleXMLElement->addAttribute() ---SKIPIF-- +--SKIPIF-- <?php if (!extension_loaded("simplexml")) die("skip"); ?> ---FILE-- +--FILE-- <?php $simple = simplexml_load_file(dirname(__FILE__)."/book.xml"); $simple->addAttribute('type','novels'); - + var_dump($simple->attributes()); echo "Done"; ?> |