diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2018-05-22 20:20:14 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2018-05-22 20:20:14 +0300 |
commit | 3b7238996ad68f3c56a031e72e0b2f9aa0c8662c (patch) | |
tree | b491b30834997e406d6139aaf39d7bc6140d7f30 /test/php/get_variables/index.php | |
parent | 7d224bfc9e39cb7885885bb554ca21ab26f5ddd0 (diff) | |
download | unit-3b7238996ad68f3c56a031e72e0b2f9aa0c8662c.tar.gz unit-3b7238996ad68f3c56a031e72e0b2f9aa0c8662c.tar.bz2 |
Tests: initial PHP application tests.
Diffstat (limited to 'test/php/get_variables/index.php')
-rw-r--r-- | test/php/get_variables/index.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/php/get_variables/index.php b/test/php/get_variables/index.php new file mode 100644 index 00000000..dd7ef985 --- /dev/null +++ b/test/php/get_variables/index.php @@ -0,0 +1,7 @@ +<?php +header('Content-Length: 0'); +header('X-Var-1: ' . $_GET['var1']); +header('X-Var-2: ' . $_GET['var2'] . isset($_GET['var2'])); +header('X-Var-3: ' . $_GET['var3'] . isset($_GET['var3'])); +header('X-Var-4: ' . $_GET['var4'] . isset($_GET['var4'])); +?> |