diff options
Diffstat (limited to 'ext/simplexml/tests/simplexml_load_file.phpt')
-rw-r--r-- | ext/simplexml/tests/simplexml_load_file.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/simplexml/tests/simplexml_load_file.phpt b/ext/simplexml/tests/simplexml_load_file.phpt index 91543979f4..50ee4e9033 100644 --- a/ext/simplexml/tests/simplexml_load_file.phpt +++ b/ext/simplexml/tests/simplexml_load_file.phpt @@ -4,7 +4,7 @@ simplexml_load_file() <?php if (!extension_loaded("simplexml")) die("skip"); ?> --FILE-- <?php - $simple = simplexml_load_file(dirname(__FILE__)."/book.xml"); + $simple = simplexml_load_file(__DIR__."/book.xml"); var_dump($simple); echo "Done"; |