summaryrefslogtreecommitdiff
path: root/ext/opcache
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-03-09 17:58:36 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2020-03-09 22:49:08 +0100
commitd5e206620b80b0f198f6dd1865a758edf7ea1494 (patch)
tree07e2063e74c95c627699baa5e761a7c94d7bc937 /ext/opcache
parentdc4f42508dc109d6e8d86ab279b8438bb341f112 (diff)
downloadphp-git-d5e206620b80b0f198f6dd1865a758edf7ea1494.tar.gz
Enclose INI values containing {TMP} in quotes
At least on Windows, the temporary directory may contain tilde signs, which would result in an INI parse error.
Diffstat (limited to 'ext/opcache')
-rw-r--r--ext/opcache/tests/bug71443.phpt2
-rw-r--r--ext/opcache/tests/bug76275.phpt2
-rw-r--r--ext/opcache/tests/bug78189.phpt2
3 files changed, 3 insertions, 3 deletions
diff --git a/ext/opcache/tests/bug71443.phpt b/ext/opcache/tests/bug71443.phpt
index 54c123d4ad..5887a2c018 100644
--- a/ext/opcache/tests/bug71443.phpt
+++ b/ext/opcache/tests/bug71443.phpt
@@ -3,7 +3,7 @@ Bug #71443 (Segfault using built-in webserver with intl using symfony)
--INI--
opcache.enable=1
opcache.enable_cli=1
-opcache.file_cache={TMP}
+opcache.file_cache="{TMP}"
opcache.file_cache_only=1
--SKIPIF--
<?php require_once('skipif.inc'); ?>
diff --git a/ext/opcache/tests/bug76275.phpt b/ext/opcache/tests/bug76275.phpt
index 0600b382f9..56a47316b4 100644
--- a/ext/opcache/tests/bug76275.phpt
+++ b/ext/opcache/tests/bug76275.phpt
@@ -3,7 +3,7 @@ Bug #76275: Assertion failure in file cache when unserializing empty try_catch_a
--INI--
opcache.enabled=1
opcache.enable_cli=1
-opcache.file_cache={TMP}
+opcache.file_cache="{TMP}"
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
diff --git a/ext/opcache/tests/bug78189.phpt b/ext/opcache/tests/bug78189.phpt
index d97d8e9470..5e59b5eab6 100644
--- a/ext/opcache/tests/bug78189.phpt
+++ b/ext/opcache/tests/bug78189.phpt
@@ -8,7 +8,7 @@ if (substr(PHP_OS, 0, 3) !== 'WIN') die('skip this test is for Windows platforms
--INI--
opcache.enable_cli=1
opcache.optimization_level=-1
-opcache.file_cache={TMP}
+opcache.file_cache="{TMP}"
opcache.file_cache_only=1
--FILE--
<?php