diff options
Diffstat (limited to 'ext/simplexml/tests/bug24392.phpt')
-rw-r--r-- | ext/simplexml/tests/bug24392.phpt | 2 |
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"; } |