summaryrefslogtreecommitdiff
path: root/ext/simplexml/tests/bug24392.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/simplexml/tests/bug24392.phpt')
-rw-r--r--ext/simplexml/tests/bug24392.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/simplexml/tests/bug24392.phpt b/ext/simplexml/tests/bug24392.phpt
index 5bd133fd73..08d73c630d 100644
--- a/ext/simplexml/tests/bug24392.phpt
+++ b/ext/simplexml/tests/bug24392.phpt
@@ -4,7 +4,7 @@ Bug #24392 (empty namespaces causing confusion)
<?php if (!extension_loaded("simplexml")) print "skip simplexml extension is not loaded"; ?>
--FILE--
<?php
-$s = simplexml_load_file(dirname(__FILE__).'/bug24392.xml');
+$s = simplexml_load_file(__DIR__.'/bug24392.xml');
foreach ($s->item as $item) {
echo $item->title . "\n";
}