summaryrefslogtreecommitdiff
path: root/ext/simplexml/tests/SimpleXMLElement_addAttribute_basic.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/simplexml/tests/SimpleXMLElement_addAttribute_basic.phpt')
-rw-r--r--ext/simplexml/tests/SimpleXMLElement_addAttribute_basic.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/simplexml/tests/SimpleXMLElement_addAttribute_basic.phpt b/ext/simplexml/tests/SimpleXMLElement_addAttribute_basic.phpt
index aedd5978b7..52f6222eea 100644
--- a/ext/simplexml/tests/SimpleXMLElement_addAttribute_basic.phpt
+++ b/ext/simplexml/tests/SimpleXMLElement_addAttribute_basic.phpt
@@ -4,7 +4,7 @@ SimpleXMLElement->addAttribute()
<?php if (!extension_loaded("simplexml")) die("skip"); ?>
--FILE--
<?php
- $simple = simplexml_load_file(dirname(__FILE__)."/book.xml");
+ $simple = simplexml_load_file(__DIR__."/book.xml");
$simple->addAttribute('type','novels');
var_dump($simple->attributes());