summaryrefslogtreecommitdiff
path: root/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcnostring.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcnostring.phpt')
-rw-r--r--ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcnostring.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcnostring.phpt b/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcnostring.phpt
index f66632d2be..e173842c4e 100644
--- a/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcnostring.phpt
+++ b/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcnostring.phpt
@@ -11,9 +11,9 @@ is expected to fail
?>
--FILE--
<?php
-include dirname(__FILE__) .'/prepare.inc';
+include __DIR__ .'/prepare.inc';
$phpfuncxsl = new domDocument();
-$phpfuncxsl->load(dirname(__FILE__)."/phpfunc-nostring.xsl");
+$phpfuncxsl->load(__DIR__."/phpfunc-nostring.xsl");
if(!$phpfuncxsl) {
echo "Error while parsing the xsl document\n";
exit;