summaryrefslogtreecommitdiff
path: root/tests/php/phpt/variables/027-env.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/php/phpt/variables/027-env.phpt')
-rw-r--r--tests/php/phpt/variables/027-env.phpt25
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/php/phpt/variables/027-env.phpt b/tests/php/phpt/variables/027-env.phpt
deleted file mode 100644
index 4e84cfe..0000000
--- a/tests/php/phpt/variables/027-env.phpt
+++ /dev/null
@@ -1,25 +0,0 @@
---TEST--
-test superglobal _ENV
---SKIPIF--
-<?php if (!extension_loaded("extension_for_tests")) print "skip"; ?>
---ENV--
-return <<<END
-ENVVAR1=ENVVAL1
-HTTP_REFERER=http://spb.1gs.ru/
-HTTP_USER_AGENT=Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0
-HTTP_COOKIE=usr=1cfa6e9905; pc=0; PHPSESSID=4d08j9phpe1c6; vmode=0
-HTTP_HOST=phpcpp.com
-END;
---FILEEOF--
-<?php
-
-
-TestVariables\test_env();
-//var_export($_SERVER); echo PHP_EOL, PHP_EOL, PHP_EOL;
-
---EXPECTF--
-HTTP_USER_AGENT => Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0
-ENVVAR1 => ENVVAL1
-HTTP_REFERER => http://spb.1gs.ru/
-REQUEST_METHOD => GET
-HTTP_HOST => phpcpp.com