diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2018-10-06 12:01:22 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2018-10-06 12:29:04 +0200 |
commit | 61330b0faf5dfbed79cba012744dabce9d20cc8f (patch) | |
tree | f60c66c5fdac11ae5b17278f79ad84094df67bd7 /ext/filter | |
parent | e25b23ed0c3670bee4edb1d5e1360303c8ee483f (diff) | |
download | php-git-61330b0faf5dfbed79cba012744dabce9d20cc8f.tar.gz |
Fix PHPT ENV sections
run-tests.php assumes the contents of an ENV section are a simple list
of key-value-pairs, instead of evaluating the section contents as PHP
script which server-tests.php did. Since server-tests.php is gone, we
remove the superfluous and confusing scripting.
Diffstat (limited to 'ext/filter')
-rw-r--r-- | ext/filter/tests/bug49184.phpt | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/filter/tests/bug49184.phpt b/ext/filter/tests/bug49184.phpt index 86d35db0d5..8ed142d73a 100644 --- a/ext/filter/tests/bug49184.phpt +++ b/ext/filter/tests/bug49184.phpt @@ -5,9 +5,7 @@ See Bug #49184 --SKIPIF-- <?php if (!extension_loaded("filter")) die("skip needs filter ext"); ?> --ENV-- -return <<<END HTTP_X_FORWARDED_FOR=example.com -END; --FILE-- <?php var_dump(filter_input(INPUT_SERVER, "HTTP_X_FORWARDED_FOR", FILTER_UNSAFE_RAW)); |