summaryrefslogtreecommitdiffhomepage
path: root/test/php/fastcgi_finish_request/server.php
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2021-05-07 16:55:42 +0100
committerAndrei Zeliankou <zelenkov@nginx.com>2021-05-07 16:55:42 +0100
commitb9e8d8073ce9da9c1019ca885d99bca7ff727ba1 (patch)
treed2eae7ae2d1b063e8d1578479aa52e21446febab /test/php/fastcgi_finish_request/server.php
parentb0e32bc015f8eb146e745b7184549e15c6657f85 (diff)
downloadunit-b9e8d8073ce9da9c1019ca885d99bca7ff727ba1.tar.gz
unit-b9e8d8073ce9da9c1019ca885d99bca7ff727ba1.tar.bz2
Tests: PHP test with getting variable before the script is loaded.
Diffstat (limited to '')
-rw-r--r--test/php/fastcgi_finish_request/server.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/php/fastcgi_finish_request/server.php b/test/php/fastcgi_finish_request/server.php
new file mode 100644
index 00000000..af71c5f2
--- /dev/null
+++ b/test/php/fastcgi_finish_request/server.php
@@ -0,0 +1,4 @@
+<?php
+echo $_SERVER['REQUEST_METHOD'];
+echo $_SERVER['HTTP_HOST'];
+?>