X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fredirect_001.phpt;fp=tests%2Fredirect_001.phpt;h=9180619587d976a4a4946d4cb97c8c2eeb70ad57;hp=0000000000000000000000000000000000000000;hb=2d5d8aa343778897c7eedb25464a2cb0a789d748;hpb=5853f70523cc38387dc35e2e8b81f2b8b69f909b diff --git a/tests/redirect_001.phpt b/tests/redirect_001.phpt new file mode 100644 index 0000000..9180619 --- /dev/null +++ b/tests/redirect_001.phpt @@ -0,0 +1,18 @@ +--TEST-- +http_redirect() with params +--SKIPIF-- + +--FILE-- + 1, 'b' => 2)); +?> +--EXPECTF-- +Status: 302 +Content-type: text/html +X-Powered-By: PHP/%s +Location: http://localhost/redirect?a=1&b=2 + +Redirecting to http://localhost/redirect?a=1&b=2. +