diff options
| author | Anatol Belski <ab@php.net> | 2016-06-17 17:09:42 +0200 |
|---|---|---|
| committer | Anatol Belski <ab@php.net> | 2016-06-17 17:09:42 +0200 |
| commit | 4a142af31612100ea7ff9affec0dfb795a976ce3 (patch) | |
| tree | f2ff0bce0fd4d07d8a2399b4e9719e702acc398a /ext/pgsql | |
| parent | d6b649f6daff236c1652ee4364fc698adc671fcc (diff) | |
| download | php-git-4a142af31612100ea7ff9affec0dfb795a976ce3.tar.gz | |
fix test portability
Diffstat (limited to 'ext/pgsql')
| -rw-r--r-- | ext/pgsql/tests/bug72195.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pgsql/tests/bug72195.phpt b/ext/pgsql/tests/bug72195.phpt index 2f33e1ab1c..34735d31f4 100644 --- a/ext/pgsql/tests/bug72195.phpt +++ b/ext/pgsql/tests/bug72195.phpt @@ -9,7 +9,7 @@ $var1 = $val; printf("%x\n", count($val)); @pg_pconnect($var1, "2", "3", "4"); $var1 = ""; -tempnam('/tmp', 'ABCDEFGHI'); +tempnam(sys_get_temp_dir(), 'ABCDEFGHI'); printf("%x\n", count($val)); ?> --EXPECT-- |
