summaryrefslogtreecommitdiff
path: root/ext/zlib/tests/gzgetc_basic_1.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zlib/tests/gzgetc_basic_1.phpt')
-rw-r--r--ext/zlib/tests/gzgetc_basic_1.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zlib/tests/gzgetc_basic_1.phpt b/ext/zlib/tests/gzgetc_basic_1.phpt
index 24d847eb64..b555877c8c 100644
--- a/ext/zlib/tests/gzgetc_basic_1.phpt
+++ b/ext/zlib/tests/gzgetc_basic_1.phpt
@@ -16,7 +16,7 @@ if (version_compare(get_zlib_version(), '1.2.7') < 0) {
// note that gzgets is an alias to fgets. parameter checking tests will be
// the same as gzgets
-$f = dirname(__FILE__)."/004.txt.gz";
+$f = __DIR__."/004.txt.gz";
$h = gzopen($f, 'r');
if ($h) {
$count = 0;