X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fredirect_011.phpt;fp=tests%2Fredirect_011.phpt;h=fc3f3d24541a35f56cac2717965f3bfc17e27a5d;hb=96d059e9210a6677427392d615bc42ab38b3b432;hp=0000000000000000000000000000000000000000;hpb=5f7061a515a21abec1cf742f25a68967516e21cb;p=m6w6%2Fext-http diff --git a/tests/redirect_011.phpt b/tests/redirect_011.phpt new file mode 100644 index 0000000..fc3f3d2 --- /dev/null +++ b/tests/redirect_011.phpt @@ -0,0 +1,24 @@ +--TEST-- +http_redirect() with params +--SKIPIF-- + +--ENV-- +HTTP_HOST=localhost +--FILE-- + 1, 'b' => 2)); +?> +--EXPECTF-- +Status: 302 +X-Powered-By: PHP/%s +Location: http://localhost/redirect?a=1&b=2 +Content-type: %s + +Redirecting to http://localhost/redirect?a=1&b=2. +