summaryrefslogtreecommitdiff
path: root/ext/standard/tests/general_functions/is_numeric.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/general_functions/is_numeric.phpt')
-rw-r--r--ext/standard/tests/general_functions/is_numeric.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/tests/general_functions/is_numeric.phpt b/ext/standard/tests/general_functions/is_numeric.phpt
index 0019cf18d2..c23e5e3b8c 100644
--- a/ext/standard/tests/general_functions/is_numeric.phpt
+++ b/ext/standard/tests/general_functions/is_numeric.phpt
@@ -99,7 +99,7 @@ echo "\n*** Testing is_numeric() on non numeric types ***\n";
// get a resource type variable
$fp = fopen (__FILE__, "r");
-$dfp = opendir ( dirname(__FILE__) );
+$dfp = opendir ( __DIR__ );
// unset variable
$unset_var = 10.5;