diff options
Diffstat (limited to 'ext/zlib/tests/gzreadgzwrite.phpt')
| -rw-r--r-- | ext/zlib/tests/gzreadgzwrite.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zlib/tests/gzreadgzwrite.phpt b/ext/zlib/tests/gzreadgzwrite.phpt index 71d728b6ed..d52f12a4ac 100644 --- a/ext/zlib/tests/gzreadgzwrite.phpt +++ b/ext/zlib/tests/gzreadgzwrite.phpt @@ -6,7 +6,7 @@ if (!extension_loaded("zlib")) print "skip"; ?> --FILE-- <?php $original = str_repeat(b"hallo php",4096); -$filename = tempnam("/tmp", "phpt"); +$filename = tempnam(sys_get_temp_dir(), "phpt"); $fp = gzopen($filename, "wb"); gzwrite($fp, $original); |
